Skip to main content
PUT
Create a new paste from raw data
curl --request PUT \
  --url https://api.example.com/ \
  --header 'App-Password: <api-key>' \
  --header 'Content-Type: text/plain' \
  --header 'Device-Code: <device-code>' \
  --data '<string>'
"<string>"

Authorizations

App-Password
string
header
required

Headers

Device-Code
string
required

8-character alphanumeric device identifier

Body

text/plain

Raw paste content

The body is of type string.

Response

URL of the created paste

The response is of type string.