Skip to content
FloralityDocs
ChangelogGet an API key

Getting started

  • Quickstart
  • Authentication
  • Scopes
  • Privacy buckets
  • Rate limits
  • Errors
  • Versioning
  • Terminology
  • Webhooks PRO

Resources

  • Members
  • Groups
  • Entries
  • Front
  • Appearance
  • Custom fields
  • Trash
  • Search
  • Member statuses
  • Systems
  • Messaging
  • Privacy buckets
  • Terminology
  • Friends
  • Subscriptions
  • Billing
  • Import
  • Social
  • Guestbook & poll
  • Group layout
  • Activity
Docs/Resources/put messaging preferences emoji
Florality

Organise your system. One front at a time.

Get started

Product

  • Features
  • Pricing
  • Docs
  • Changelog
  • Security

Company

  • About
  • Our team
  • Blog
  • Contact

Resources

  • FAQ
  • Trust and Safety
  • Public REST API

Legal

  • Privacy Policy
  • Terms of Service
  • Refunds and cancellation

© 2026 Florality. All rights reserved.

Florality
MessagingSet emoji preferences

Set emoji preferences

Sets emoji preferences for the authorised account.

PUT
/api/v1/messaging/preferences/emoji
messaging: read_write1,000 requests/minute/key · all plans

Active API keys: Free 1, Pro 5, Pro+ 5. The request rate is the same on every plan.

Message storage
Message text is encrypted at rest and decrypted for authorised requests. Channel access is restricted to spaces owned by the API key’s account; missing or inaccessible channels return 404. Editing or deleting a message additionally checks its author and can return 403.

Parameters

No path or query parameters.

Request body

application/json · required

NameTypeRequiredDescription
versionnumberRequiredVersion used for optimistic concurrency checks. Allowed values: 1.
favoritesarray<object>RequiredFavorites. At most 24 items.
favorites[].kindstringRequiredKind.
favorites[].emojistringOptionalEmoji. Minimum length: 1. Maximum length: 32.
favorites[].idstring (uuid)OptionalUnique identifier.
favorites[].shortcodestringOptionalShortcode. Minimum length: 1. Maximum length: 64.
favorites[].urlstring (uri)OptionalUrl.
frequentarray<object>RequiredFrequent. At most 32 items.
frequent[].refobjectRequiredRef.
frequent[].ref.kindstringRequiredKind.
frequent[].ref.emojistringOptionalEmoji. Minimum length: 1. Maximum length: 32.
frequent[].ref.idstring (uuid)OptionalUnique identifier.
frequent[].ref.shortcodestringOptionalShortcode. Minimum length: 1. Maximum length: 64.
frequent[].ref.urlstring (uri)OptionalUrl.
frequent[].useCountintegerRequiredUse Count. Minimum: 1.
frequent[].lastUsedAtintegerRequiredLast Used At. Minimum: 0.
preferredSkinTonenumber | nullOptionalPreferred Skin Tone. Default: null.
updatedAtintegerRequiredMost recent update time. Minimum: 0.

Response schema

200

Successful response.

NameTypeRequiredDescription
versionnumberRequiredVersion used for optimistic concurrency checks. Allowed values: 1.
favoritesarray<object>RequiredFavorites.
favorites[].kindstringRequiredKind.
favorites[].emojistringOptionalEmoji.
favorites[].idstringOptionalUnique identifier.
favorites[].shortcodestringOptionalShortcode.
favorites[].urlstringOptionalUrl.
frequentarray<object>RequiredFrequent.
frequent[].refobjectRequiredRef.
frequent[].ref.kindstringRequiredKind.
frequent[].ref.emojistringOptionalEmoji.
frequent[].ref.idstringOptionalUnique identifier.
frequent[].ref.shortcodestringOptionalShortcode.
frequent[].ref.urlstringOptionalUrl.
frequent[].useCountnumberRequiredUse Count.
frequent[].lastUsedAtnumberRequiredLast Used At.
preferredSkinTonenull | numberRequiredPreferred Skin Tone. Preferred Fitzpatrick tone for emoji that support skins.
updatedAtnumberRequiredMost recent update time.

Errors

400 · JSON error

Invalid JSON body.

401 · JSON error

Missing or invalid API key. Use Authorization: Bearer <token>.

403 · JSON error

Requires messaging: read_write; ownership or feature restrictions may also deny access.

404 · JSON error

Request failed (NOT_FOUND).

409 · JSON error

conflict.

429 · JSON error

API rate limit exceeded (1000 requests per minute). Retry shortly.

500 · JSON error

internal server error.

503 · JSON error

Object storage is not configured. Set MinIO (or compatible S3) env vars to upload files.

← Previous endpointGet emoji preferencesNext endpoint →Get gif preferences

Request example

Set FLORALITY_KEY in your environment. These examples use demo identifiers.

Shell
curl --request PUT 'https://floralitys.com/api/v1/messaging/preferences/emoji' \
  --header "Authorization: Bearer $FLORALITY_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "version": 1,
  "favorites": [
    {
      "kind": "custom",
      "id": "11111111-1111-4111-8111-111111111111",
      "shortcode": "demo",
      "url": "https://example.com/demo"
    }
  ],
  "frequent": [
    {
      "ref": {
        "kind": "custom",
        "id": "11111111-1111-4111-8111-111111111111",
        "shortcode": "demo",
        "url": "https://example.com/demo"
      },
      "useCount": 1,
      "lastUsedAt": 1767225600000
    }
  ],
  "updatedAt": 1767225600000
}'

Responses

Successful response.

JSON
{
  "version": 1,
  "favorites": [
    {
      "kind": "custom",
      "id": "11111111-1111-4111-8111-111111111111",
      "shortcode": "demo",
      "url": "https://example.com/demo"
    }
  ],
  "frequent": [
    {
      "ref": {
        "kind": "custom",
        "id": "11111111-1111-4111-8111-111111111111",
        "shortcode": "demo",
        "url": "https://example.com/demo"
      },
      "useCount": 0,
      "lastUsedAt": 1767225600000
    }
  ],
  "preferredSkinTone": null,
  "updatedAt": 1767225600000
}

Example values are illustrative demo data.