API referenceWebhooks
GET /api/v1/webhooks
List webhooks
GET
BearerAuthheader
AuthorizationBearer <token>API key sk_...
{webhooks}
application/json- response
webhooks?array<>curl -X GET 'https://example.com/api/v1/webhooks'Example Response
{ "webhooks": [ { "id": "string", "url": "string", "events": "string", "createdAt": "2019-08-24T14:15:22Z", "secret": "string" } ]}GET /api/v1/analytics/facebook/post-earnings GET
Lifetime monetization earnings of one post (cumulative: since, until, period, metricType and breakdown are 400). content_monetization_earnings has unit micro_amount and a currency; monetization_approximate_earnings is unspecified
POST /api/v1/webhooks POST
Create a webhook (secret returned once). While approval applies it answers 202 (queued, kind webhook.create); once approved the secret is shown once to the approving member in the dashboard only, and the action's result (GET /api/v1/actions/{id}, action.* webhooks) carries the webhook without it