FansquareAPI reference
Open the app

AI control

Acknowledge AI control requests

POST/v1/accounts/{account_id}/ai-requests/ack

Marks the given requests as handled so they drop off the pending list, in a single call. Ids that are unknown, already acknowledged, or from another account are ignored, so the count returned may be lower than the ids sent.

Required scopewrite:ai_requests
Rate limit120 requests per minute
curl -X POST 'https://api.fansquare.so/v1/accounts/c851d9d6-b90b-4958-aed2-2fdaa2fe21a3/ai-requests/ack' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste" \
  -H "Content-Type: application/json" \
  -d '{
  "request_ids": [
    "0cbdfaac-d0e9-419e-a7b9-b438a95c3862"
  ]
}'
{
  "acknowledged": 1
}

Parameters

Headers

  • Fansquare-Versionstringrequired

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

Path

  • account_idstringrequired

    MYM account id (account.external_id in GET /v1/creators).

    min length 1

Body

application/json

  • request_idsarray of stringsrequired

    Request ids from the pending list. 1 to 500 per call; duplicates are ignored.

    format uuidmin items 1max items 500

Response

OK, application/json

  • acknowledgedintegerrequired

    Number of requests actually acknowledged (may be lower than the ids sent).

curl -X POST 'https://api.fansquare.so/v1/accounts/c851d9d6-b90b-4958-aed2-2fdaa2fe21a3/ai-requests/ack' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste" \
  -H "Content-Type: application/json" \
  -d '{
  "request_ids": [
    "0cbdfaac-d0e9-419e-a7b9-b438a95c3862"
  ]
}'
{
  "acknowledged": 1
}