Skip to main content

Update Conversation Status

warning

Inbox management is not available on the Basic plan. Upgrade to Intermediate, Growth or Business plan to access this endpoint.

Overview​

The Update Conversation Status endpoint changes the status of a conversation in your inbox. This allows you to keep conversations open, close resolved conversations, or mark them as spam.

Base URL:

https://message.oneupapp.io

Endpoint​

PATCH /api/conversations/{id}

Request Parameters​

ParameterRequiredTypeDescription
apiKeyYesstringYour personal API key generated from the API Access page. Passed as a query parameter.
idYesintegerThe conversation ID returned by Fetch Conversations. Passed in the URL path. Use id, not conversation_id.
statusYesstringThe conversation status: open, closed, or spam.

Sample Request​

curl --location --request PATCH \
"https://message.oneupapp.io/api/conversations/123?apiKey=YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"status": "closed"
}'

Sample Response​

{
"message": "OK",
"error": false,
"data": {
"id": 123,
"social_account_id": "104040148726689",
"conversation_id": "t_987654321",
"link": null,
"updated_time": "2026-09-28 10:00:00",
"platform": "facebook",
"status": "closed"
},
"meta": []
}

If the connected Facebook or Instagram account needs to be synced, the API returns 202 Accepted with Retry-After: 5. Wait at least five seconds, then repeat the request. See the account sync response.

Response Fields​

FieldDescription
idThe conversation ID used in API requests.
social_account_idThe social account ID that owns the conversation. WhatsApp uses the business phone number ID.
conversation_idThe platform-specific conversation identity.
linkLink to the conversation on the platform, when available.
updated_timeThe last update time, formatted as YYYY-MM-DD HH:MM:SS.
platformThe platform name: facebook, instagram, or whatsapp.
statusThe conversation status: open, closed, or spam.

Error Responses​

StatusWhen
401Missing or invalid apiKey.
403Inbox management is unavailable on the Basic plan.
404The requested resource was not found or does not belong to the authorized user.
422Invalid or missing parameters.
429The limit of 60 requests per minute per API key was exceeded. Wait for the Retry-After interval.
503API key verification or account sync is temporarily unavailable.

✅ Result: You have successfully updated the conversation status!