FansquareAPI reference
Open the app

Hashtag sets

Update a hashtag set

PATCH/v1/hashtag-sets/{hashtag_set_id}

Renames a hashtag set, replaces its hashtags or moves it to another creator. New hashtags change the next posts of every rotation that draws from the set: tell the user which rotations use it (hashtag_set_id in list_rotations) before calling it.

Required scopewrite:publications
Rate limit30 requests per minute
curl -X PATCH 'https://api.fansquare.so/v1/hashtag-sets/6cde5083-2767-4f94-a83d-766741432b2f' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste" \
  -H "Content-Type: application/json" \
  -d '{
  "creator_id": "m81IhLxdhzDGYs54rNp2",
  "name": "Lena",
  "hashtags": [
    "string"
  ]
}'
{
  "id": "6cde5083-2767-4f94-a83d-766741432b2f",
  "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.

Path

  • hashtag_set_idstringrequired

    Fansquare hashtag set id (the id field of hashtag set items).

    format uuid

Body

application/json

  • creator_idstring | null

    Moves the set to this creator, or to the whole agency (null).

    min length 1
  • namestring
    min length 1max length 60
  • hashtagsarray of strings

    Replaces the hashtags. 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

OK, 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 PATCH 'https://api.fansquare.so/v1/hashtag-sets/6cde5083-2767-4f94-a83d-766741432b2f' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste" \
  -H "Content-Type: application/json" \
  -d '{
  "creator_id": "m81IhLxdhzDGYs54rNp2",
  "name": "Lena",
  "hashtags": [
    "string"
  ]
}'
{
  "id": "6cde5083-2767-4f94-a83d-766741432b2f",
  "creator_id": "m81IhLxdhzDGYs54rNp2",
  "name": "Lena",
  "hashtags": [
    "string"
  ],
  "updated_at": "2026-10-12T21:14:00.000Z"
}