Connect

Read an account's webhook subscription

Changed on

Returns the webhook fields Zernio's app is subscribed to on the connected Page, read live from Meta. Use it to confirm leadgen is present: a Page missing it keeps delivering every other event while lead ads stop arriving, with nothing to indicate it.

For an Instagram account connected through Instagram Login it returns the subscription record (subscriptionId) and the webhook fields Meta did not subscribe (missingFields). An Instagram account connected through Facebook Login returns 409: its webhooks ride the Facebook Page subscription.

get/v1/accounts/{accountId}/webhook-subscription

Request

Path parameters

accountIdstring required

Response

The Page's current subscription

pageIdstring
appSubscribedboolean

False when the Page carries no subscription for our app at all.

leadgenboolean

Whether lead ads submitted on this Page reach Zernio in real time.

subscribedFieldsstring[]
warningstring nullable

Present only when leadgen is missing.

instagramUserIdstring

Instagram accounts only.

subscriptionIdstring nullable

Instagram accounts only. Id of the subscription record on Meta; null when there is none.

missingFieldsstring[]

Instagram accounts only. Webhook fields Zernio expects that Meta did not subscribe.

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status