Pastebin

Create paste

POST https://my.elara.services/bin/api

Query Parameters

Name
Type
Description

key

string

Your Pastebin API key

Request Body

Name
Type
Description

priv

boolean

If true only you will be able to view the paste.

title

string

The title that appears for the embed (for sites like Discord)

content

string

The content you want to post to the website

{
    status: true,
    id: "RANDOM ID",
    url: "URL"
}

View Paste

GET https://my.elara.services/bin/api/:id

Path Parameters

Name
Type
Description

:id

string

The paste ID

Query Parameters

Name
Type
Description

key

string

Your Pastebin API key

{
    status: true,
    key: "PASTE ID",
    url: "URL",
    content: "Paste content",
    title: "Paste Title",
    created: "DATE",
    expire: "DATE"
}

Last updated