cURL
curl --request POST \ --url https://api.pingmee.co.il/webhook \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "url": "<string>", "event": "Messages Created" } '
{ "id": "<string>" }
Creates a new webhook subscription.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Callback URL to receive webhook events
Event type to subscribe to
Messages Created
New Conversation Started
Webhook created
Unique identifier of the created webhook