staqlydocs
REST APIAPI referenceChannels

Meta's Deauthorize callback

Meta's Deauthorize callback (Instagram, Facebook, Threads)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

POST
/v1/meta/deauthorize

Meta posts a signed_request (signed with the app's secret) when someone removes the app from their account; their channels turn Needs reconnect. Set as the app's Deauthorize callback URL.

Request Body

application/x-www-form-urlencoded
  1. body
signed_request*string

Response Body

OK

application/json
  1. response
channels*integer
Example Request
curl -X POST 'https://staqly.example.com/v1/meta/deauthorize' \  -H 'Content-Type: application/x-www-form-urlencoded' \  -d 'signed_request=string'
Example Response
{  "channels": 0}