Skip to main content
GET
/
{paste}
Get paste content by ID
curl --request GET \
  --url https://api.example.com/{paste} \
  --header 'App-Password: <api-key>' \
  --header 'Device-Code: <device-code>'
{
  "error": "<string>",
  "status": 1
}

Authorizations

App-Password
string
header
required

Headers

Device-Code
string
required

8-character alphanumeric device identifier

Path Parameters

paste
string
required

Paste ID (optionally with file extension for syntax highlighting)

Response

Paste content