curl --request POST \
--url https://api.onlyx.ai/v1/conversations/{conversationId}/handoff/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"note": "Re-sent the video as a free message; fan confirmed it plays."
}
'import requests
url = "https://api.onlyx.ai/v1/conversations/{conversationId}/handoff/resolve"
payload = { "note": "Re-sent the video as a free message; fan confirmed it plays." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({note: 'Re-sent the video as a free message; fan confirmed it plays.'})
};
fetch('https://api.onlyx.ai/v1/conversations/{conversationId}/handoff/resolve', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"conversationId": "cnv_3d9e7b1a5c2f4e8d6a0b",
"createdAt": "2026-09-25T21:41:03.000Z",
"creatorId": "cre_8f2c1a9b0d7e4c3f2a1b",
"fanName": "Mike",
"id": "esc_5e1f2a3b4c5d6e7f8a9b",
"label": "Asks for a refund",
"note": "He says the video he bought does not play and wants his money back.",
"reason": "payment_dispute",
"status": "open"
}Resolve a hand-off
Closes the open hand-off on this conversation, with an optional note saying what your team did. This can reach the fan: if the chat is still in handoff (nobody replied or took it over), it returns to the AI at once and the AI may answer the fan’s waiting message within seconds. If your team already replied or took the chat over, it stays with your team and resolving only closes the record. Returns 404 NOT_FOUND when the conversation has no open hand-off (so resolving twice is harmless), 400 VERDICT_REQUIRED when a hand-off about a possible minor or the fan’s welfare needs a verdict and none was given, and 503 SENDING_DISABLED while sending through the API is switched off.
Scope: requires inbox:write.
Rate limit: the general limit of 120 requests per 60 seconds per credential.
Idempotency: send an Idempotency-Key header to make retries safe: a replay within 24 hours returns the original response with Idempotent-Replayed: true.
Reaches fans: this operation can reach a real fan or change the live OnlyFans account. Confirm it with a person before calling it on their behalf.
curl --request POST \
--url https://api.onlyx.ai/v1/conversations/{conversationId}/handoff/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"note": "Re-sent the video as a free message; fan confirmed it plays."
}
'import requests
url = "https://api.onlyx.ai/v1/conversations/{conversationId}/handoff/resolve"
payload = { "note": "Re-sent the video as a free message; fan confirmed it plays." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({note: 'Re-sent the video as a free message; fan confirmed it plays.'})
};
fetch('https://api.onlyx.ai/v1/conversations/{conversationId}/handoff/resolve', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"conversationId": "cnv_3d9e7b1a5c2f4e8d6a0b",
"createdAt": "2026-09-25T21:41:03.000Z",
"creatorId": "cre_8f2c1a9b0d7e4c3f2a1b",
"fanName": "Mike",
"id": "esc_5e1f2a3b4c5d6e7f8a9b",
"label": "Asks for a refund",
"note": "He says the video he bought does not play and wants his money back.",
"reason": "payment_dispute",
"status": "open"
}Authorizations
Headers
Optional. A unique value (8 to 64 letters, digits, - or _; a UUID is ideal) that makes a retry safe: the same key with the same request within 24 hours returns the stored response, with Idempotent-Replayed: true, instead of doing the work twice. The same key with a different request is 409 IDEMPOTENCY_KEY_REUSED; while the first request still runs it is 409 IDEMPOTENCY_IN_PROGRESS. A malformed key is 400 VALIDATION_ERROR.
8 - 64^[A-Za-z0-9_-]{8,64}$Body
For a hand-off with reason prohibited_request about a possible minor: whether the fan is an adult (adult), a minor (minor), or your team cannot tell (unsure). For a hand-off with reason welfare: whether it was a false alarm (no_concern; false_alarm is accepted for it) or a real concern (real). Optional and stored when given; a verdict the hand-off does not take returns 400 VALIDATION_ERROR; when the workspace requires it, resolving such a hand-off without it returns 400 VERDICT_REQUIRED.
adult, minor, unsure, no_concern, false_alarm, real Response
The resolved hand-off.