Share Text

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
textstringRequired
ttl_hoursintegerRequired

Response headers

X-Middleware-Rewritestring
Access-Control-Allow-Originstring
Access-Control-Allow-Headersstring
Access-Control-Allow-Methodsstring

Response

Created
text_idstring
share_urlstringformat: "uri"
expires_atstring
verified_burnboolean

Errors

400
Bad Request Error
401
Unauthorized Error