AI control
Acknowledge AI control requests
POST
/v1/accounts/{account_id}/ai-requests/ackMarks 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 scope
write:ai_requestsRate 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-VersionstringrequiredAPI version to pin. Accepts the mineral name or the release date of a version.
Path
account_idstringrequiredMYM account id (
account.external_idin GET /v1/creators).min length 1
Body
application/json
request_idsarray of stringsrequiredRequest ids from the pending list. 1 to 500 per call; duplicates are ignored.
format uuidmin items 1max items 500
Response
OK, application/json
acknowledgedintegerrequiredNumber 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
}