Contact us : /

To open a page without highlighting, add ?highlight=false parameter to the URL.

To open a paste as a raw text without any markup, add ?raw parameter to the URL.

You can create a paste in three ways:

  • using the form on this web-site;
  • making a POST text request;
  • making a JSON POST request.
POST request URL:

Available params:

    language: text|markdown
    body: no larger than 512 kb
    auto_destroy: true
    ttl_days: 365
  • body - required . The maximum length of text - 512 kb.
  • language can take one of the two values: text or markdown. Without this parameter the default parameter will be set (text) .
  • auto_destroy must be set if you want to destroy the paste right after viewing. Otherwise, don't sent it.
  • ttl_days deletes a note after specified number of days. Default - 365.

Examples of a text request

Short text :

curl -d "language=text" -d "body=short text message" ""
curl -d "language=text" -d "body=short text message" -d "ttl_days=17" ""
curl -d "language=markdown" -d "body=**Markdown** _text_ message" ""
curl -d "auto_destroy=true" -d "language=markdown" -d "body=**Markdown** _text_ message" ""

File sending

If a message is large send it as a file :

curl -H "Content-Type: text/plain" --data-binary "@file_name" ""

512kb is the not-to-exceed amount of data per paste. Any amount beyond this limit will be not saved.

Example of a request to create a paste with a specified number of days lifetime: :paste_file_path

curl -H "Content-Type: text/plain" --data-binary "@file_name"

Example of a request to create an auto-destroing paste:

curl -H "Content-Type: text/plain" --data-binary "@file_name"

JSON request

curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST  \
    -d '{"paste":{"language":"text","body":"text"}}' ""

We pack your password or code into a link