Skip to content

Create a paste

POST
/paste

Authorizations

BearerAuth
TypeHTTP (bearer)

Request Body

application/json
JSON
{
"title": "string",
"content": "string",
"encrypted": true,
"folder": "string",
"expireAt": "string",
"forkedFrom": "string",
"tags": [
"string"
],
"visibility": "string",
"type": "string",
"ai": true
}

Responses

Paste created

application/json
JSON
{
"paste": {
"id": "string",
"content": "string",
"title": "string",
"encrypted": true,
"visibility": "string",
"raw_url": "string",
"type": "string",
"created_at": "string",
"expire_at": "string",
"tags": [
"string"
],
"forked_from": "string",
"user_id": "string",
"folder": "string",
"starred": true,
"ai": true
}
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI