MepMail Docs
Referência da APIEndpointsWebhooksId

Retrieve a webhook

GET
/webhooks/{id}

Returns one webhook, including its signing secret.

AuthorizationBearer <token>

An API key from the dashboard (ms_…), sent as Authorization: Bearer. A sending-only key reaches the /emails routes only.

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "endpoint": "string",  "created_at": "string",  "status": "enabled",  "events": [    "string"  ],  "object": "webhook",  "signing_secret": "string",  "previous_secret_expires_at": "string"}