ACME API Documentation logo

Update Messages

Update status of a conversation

PUThttps://api.acme.com/api/messages/:platform/:conversationId
Available on Business, Enterprise plans.

Update the status of a conversation to active or archived. You may want to archive conversations if they are no longer active or relevant.

Header Parameters

Authorizationstringrequired
API Key of the Primary Profile.

Format: Authorization: Bearer API_KEY
Profile-Keystring
Profile Key of a User Profile.

Format: Profile-Key: PROFILE_KEY

Path Parameters

platformstringrequired

The platform for status update: facebook, instagram, twitter

conversationIdstringrequired

The ID of the conversation to action.

Body Parameters

statusstringrequired

Values: active or archived.

curl \
-H "Authorization: Bearer API_KEY" \
-H 'Content-Type: application/json' \
-d '{"status": "archived"}' \
-X PUT https://api.acme.com/api/messages/instagram/aWdfZMTpIyzQw
{
    "status": "success"
}