Hashtag sets
Create a hashtag set
POST
/v1/hashtag-setsCreates a hashtag set, for one creator or for the whole agency. Rotations draw 5 of its hashtags for each post.
Required scope
write:publicationsRate 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-VersionstringrequiredAPI version to pin. Accepts the mineral name or the release date of a version.
Body
application/json
creator_idstring | nullrequiredThe creator it belongs to, or null for the whole agency.
min length 1namestringrequiredName of the set (1 to 60 characters).
min length 1max length 60hashtagsarray of stringsrequired1 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
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 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"
}