Creates a new emoji within the specified pack. Requires the pack ID in the path and emoji metadata (name and image data) in the request body. Returns the newly created emoji with its generated ID.
curl --request POST \
--url https://api.fluxer.app/v1/packs/emojis/{pack_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"image": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"id": "<string>",
"name": "<string>",
"animated": true
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the pack
curl --request POST \
--url https://api.fluxer.app/v1/packs/emojis/{pack_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"image": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"id": "<string>",
"name": "<string>",
"animated": true
}