Skip to main content
POST
/
packs
/
{pack_type}
Create pack
curl --request POST \
  --url https://api.fluxer.app/v1/packs/{pack_type} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "type": "emoji",
  "creator_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "installed_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Path Parameters

pack_type
string
required

The pack type

Body

application/json
name
string
required

The name of the pack

description
string | null

The description of the pack

Response

Success

id
string
required

The unique identifier (snowflake) for the pack

name
string
required

The display name of the pack

description
string | null
required

The description of the pack

type
enum<string>
required

The type of expression pack (emoji or sticker)

Available options:
emoji,
sticker
creator_id
string
required

The ID of the user who created the pack

created_at
string<date-time>
required

ISO8601 timestamp of when the pack was created

updated_at
string<date-time>
required

ISO8601 timestamp of when the pack was last updated

installed_at
string<date-time>

ISO8601 timestamp of when the pack was installed by the user