Invarn Docs

Upload an emoji, sticker or sound into a pack.

POST/api/v1/servers/{guild}/packs/{pack}/upload

Authorization

session
invarn_session<token>

In: cookie

Path Parameters

guild*string

A Discord ID (or one of Invarn's, which look the same).

Match^[0-9]+$
pack*string

A Discord ID (or one of Invarn's, which look the same).

Match^[0-9]+$

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/servers/string/packs/string/upload" \  -F file="null" \  -F name="string" \  -F kind="emoji"
{  "id": "string",  "pack": "string",  "kind": "emoji",  "name": "string",  "animated": true,  "position": 0,  "url": "string",  "state": "synced"}