Creates a new emoji or sticker pack owned by the authenticated user. The pack type is specified in the path parameter and can be either “emoji” or “sticker”. Returns the newly created pack with its metadata.
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"
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The pack type
Success
The unique identifier (snowflake) for the pack
The display name of the pack
The description of the pack
The type of expression pack (emoji or sticker)
emoji, sticker The ID of the user who created the pack
ISO8601 timestamp of when the pack was created
ISO8601 timestamp of when the pack was last updated
ISO8601 timestamp of when the pack was installed by the user
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"
}