FansquareAPI reference
Open the app

Hashtag sets

Create a hashtag set

POST/v1/hashtag-sets

Creates a hashtag set, for one creator or for the whole agency. Rotations draw 5 of its hashtags for each post.

Required scopewrite:publications
Rate limit30 requests per minute
curl -X POST 'https://api.fansquare.so/v1/hashtag-sets' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste" \
  -H "Content-Type: application/json" \
  -d '{
  "creator_id": "m81IhLxdhzDGYs54rNp2",
  "name": "Lena",
  "hashtags": [
    "string"
  ]
}'
{
  "id": "40a6e358-bd2a-4cff-a59e-5709874d3f5b",
  "creator_id": "m81IhLxdhzDGYs54rNp2",
  "name": "Lena",
  "hashtags": [
    "string"
  ],
  "updated_at": "2026-10-12T21:14:00.000Z"
}

Parameters

Headers

  • Fansquare-Versionstringrequired

    API version to pin. Accepts the mineral name or the release date of a version.

Body

application/json

  • creator_idstring | nullrequired

    The creator it belongs to, or null for the whole agency.

    min length 1
  • namestringrequired

    Name of the set (1 to 60 characters).

    min length 1max length 60
  • hashtagsarray of stringsrequired

    1 to 30 MYM hashtags, normalized as MYM keeps them: a leading # removed, lowercase, accents stripped, then 3 to 30 letters, digits or underscores; duplicates count once.

    max length 100max items 100

Response

Created, application/json

  • idstringrequired

    Fansquare hashtag set id. Path parameter of the /v1/hashtag-sets/{hashtag_set_id} routes.

  • creator_idstring | nullrequired

    The creator it belongs to, or null for the whole agency.

  • namestringrequired
  • hashtagsarray of stringsrequired

    The hashtags of the set, normalized, 30 at most.

  • updated_atstringrequired
    format date-time
curl -X POST 'https://api.fansquare.so/v1/hashtag-sets' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste" \
  -H "Content-Type: application/json" \
  -d '{
  "creator_id": "m81IhLxdhzDGYs54rNp2",
  "name": "Lena",
  "hashtags": [
    "string"
  ]
}'
{
  "id": "40a6e358-bd2a-4cff-a59e-5709874d3f5b",
  "creator_id": "m81IhLxdhzDGYs54rNp2",
  "name": "Lena",
  "hashtags": [
    "string"
  ],
  "updated_at": "2026-10-12T21:14:00.000Z"
}