Skip to main content
POST
/
codes
/
create
/
paste
create via raw
curl --request POST \
  --url https://api.example.com/codes/create/paste \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "content": "<string>",
  "is_private": true,
  "parent_id": "<string>"
}
'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

API key in Bearer token format

Body

application/json
project_id
string
required
content
string
required
is_private
boolean | null
parent_id
string | null

Response

Successful Response

id
string
required