Creators
Get a creator
/v1/creators/{creator_id}Returns a single creator by Fansquare id. Returns 404 if the creator does not exist or is outside the scope of the API key.
read:creatorscurl 'https://api.fansquare.so/v1/creators/m81IhLxdhzDGYs54rNp2' \
-H "Authorization: Bearer $API_KEY" \
-H "Fansquare-Version: Amethyste"{
"id": "m81IhLxdhzDGYs54rNp2",
"name": "Lena",
"account": {
"status": "active",
"username": "lena.official",
"external_id": "c851d9d6-b90b-4958-aed2-2fdaa2fe21a3"
}
}Parameters
Headers
Fansquare-VersionstringrequiredAPI version to pin. Accepts the mineral name or the release date of a version.
Path
creator_idstringrequiredFansquare creator id.
min length 1
Response
OK, application/json
idstringrequiredFansquare creator id.
namestringrequiredDisplay name in the Fansquare CRM.
accountobject | nullrequiredThe MYM account of the creator, or null while she has none.
statusstringrequiredConnection state of the MYM account:
activewhen Fansquare reads it,pendingwhile it is being connected,invalidorrevokedwhen its access no longer works,pausedwhile the agency has paused it (until it is resumed, Fansquare makes no call to MYM with this account except reading its sales once a night).Valuesactivependinginvalidrevokedpausedusernamestring | nullrequiredMYM username of the creator, when known.
external_idstring | nullrequiredMYM account id. Used as account_id on the /v1/accounts routes.
curl 'https://api.fansquare.so/v1/creators/m81IhLxdhzDGYs54rNp2' \
-H "Authorization: Bearer $API_KEY" \
-H "Fansquare-Version: Amethyste"{
"id": "m81IhLxdhzDGYs54rNp2",
"name": "Lena",
"account": {
"status": "active",
"username": "lena.official",
"external_id": "c851d9d6-b90b-4958-aed2-2fdaa2fe21a3"
}
}