Hashtag sets
Update a hashtag set
/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.
write:publicationscurl -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-VersionstringrequiredAPI version to pin. Accepts the mineral name or the release date of a version.
Path
hashtag_set_idstringrequiredFansquare hashtag set id (the
idfield of hashtag set items).format uuid
Body
application/json
creator_idstring | nullMoves the set to this creator, or to the whole agency (null).
min length 1namestringmin length 1max length 60hashtagsarray of stringsReplaces 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
idstringrequiredFansquare hashtag set id. Path parameter of the /v1/hashtag-sets/{hashtag_set_id} routes.
creator_idstring | nullrequiredThe creator it belongs to, or null for the whole agency.
namestringrequiredhashtagsarray of stringsrequiredThe hashtags of the set, normalized, 30 at most.
updated_atstringrequiredformat 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"
}