FansquareAPI reference
Open the app

Creators

List the creators of the agency

GET/v1/creators

Lists the creators of the agency visible to the API key. The account object describes the MYM account of the creator; its external_id is the account_id used by the /v1/accounts routes. It is null while the creator has no MYM account.

Required scoperead:creators
Rate limit60 requests per minute
curl 'https://api.fansquare.so/v1/creators' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste"
{
  "data": [
    {
      "id": "m81IhLxdhzDGYs54rNp2",
      "name": "Lena",
      "account": {
        "status": "active",
        "username": "lena.official",
        "external_id": "c851d9d6-b90b-4958-aed2-2fdaa2fe21a3"
      }
    }
  ]
}

Parameters

Headers

  • Fansquare-Versionstringrequired

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

Response

OK, application/json

  • dataarray of objectsrequired
    • idstringrequired

      Fansquare creator id.

    • namestringrequired

      Display name in the Fansquare CRM.

    • accountobject | nullrequired

      The MYM account of the creator, or null while she has none.

      • statusstringrequired

        Connection state of the MYM account: active when Fansquare reads it, pending while it is being connected, invalid or revoked when its access no longer works.

        Valuesactivependinginvalidrevoked
      • usernamestring | nullrequired

        MYM username of the creator, when known.

      • external_idstring | nullrequired

        MYM account id. Used as account_id on the /v1/accounts routes.

curl 'https://api.fansquare.so/v1/creators' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste"
{
  "data": [
    {
      "id": "m81IhLxdhzDGYs54rNp2",
      "name": "Lena",
      "account": {
        "status": "active",
        "username": "lena.official",
        "external_id": "c851d9d6-b90b-4958-aed2-2fdaa2fe21a3"
      }
    }
  ]
}