Skip to main content
PUT
/
messages
/
:platform
/
:conversationId
curl \
-H "Authorization: Bearer API_KEY" \
-H 'Content-Type: application/json' \
-d '{"status": "archived"}' \
-X PUT https://api.ayrshare.com/api/messages/instagram/aWdfZMTpIyzQw
{
    "status": "success"
}
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

Path Parameters

platform
string
required
The platform for status update: facebook, instagram, twitter
conversationId
string
required
The ID of the conversation to action.

Body Parameters

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