Set presence
Learn how to set Instagram presence with Unipile API.
To set the presence of the linked Instagram account, use Set Presence and provide the desired presence value.
await messagingApi.setPresence({
path: {
account_id: "acc_123456789",
},
body: {
presence: "online",
},
});messaging_api.set_presence(
"acc_123456789",
{"presence": "online"},
)curl --request POST \
--url https://api.unipile.com/v2/account_id/presence \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"presence": "online"
}
'Use offline to clear the online presence when needed.
Updated about 1 month ago