Curl | PHP Curl | C# | Python | Nodejs | Bash | C++ Libcurl | C Libcurl
Authorization: Bearer <YOUR_API_TOKEN>
https://paste.su/dev
Untitled Paste
public | private | password
— default: public
unlimited | 1h | 1d | 7d | 1mo | 1y | burn
— default: unlimited
Response (201):
{
"paste_id": "a1b2c3d4e5f6",
"url": "https://paste.su/view/a1b2c3d4e5f6"
}
Response (200):
{
"paste_id": "a1b2c3d4e5f6",
"paste_title": "My Title",
"paste_content": "Decrypted body here",
"type": "public",
"expiration": "unlimited",
"creator": "username",
"create_time": "2025-08-25 12:34:56",
"burn": 0
}
401
— Missing / invalid token403
— Password required / invalid password404
— Not found410
— Expired422
— Missing fields / invalid params405
— Wrong method