Clipzy Online Clipboard

Step 2 (Method 2): Get Original Text

0calls

This endpoint is for the "convenient for automation" method.

GET
paste.sdjz.wiki
/api/raw/{id}
Path parameters
1
id
string
required

Unique ID of the snippet.

Query parameters
1
key
string
required

Base64 encoded AES key for decryption.

You provide the ID obtained in the first step, along with your own kept decryption key as the key parameter. The server will decrypt it directly for you and return the plain text content.

Important

Check thecURL example on the documentation homepage to understand the most typical usage of this endpoint.

Path parameters

id
stringrequired

Unique ID of the snippet.

Query parameters

key
stringrequired

Base64 encoded AES key for decryption.

Response

200 / OK

Decryption and retrieval successful! Response body is plain text content.

text/plain; charset=utf-8
TEXT
Ciallo~(∠・ω< )⌒★

400 / Bad Request

Request parameter error, missing ID or key.

JSON
{
  "error": "Invalid or missing ID/key."
}

403 / Forbidden

Access denied. The provided key cannot decrypt the corresponding data.

JSON
{
  "error": "Forbidden: incorrect key."
}

404 / Not Found

Snippet not found. It may have expired, been deleted, or the ID is incorrect.

JSON
{
  "error": "Paste not found."
}