curl --location 'https://api.sbmg.app/v1/reporting/webhook' \ --header 'x-api-key: YOUR_API_KEY' --data '{ "hookUrl": "https://my-webhook.com/inbound/sms" }'
{ "hook_id": 234 }
Subscribe to receive events to a specific webhook.
{ "account_id": "f123bf12-f23b-345d-bddc-5e6789abb0c", "destination_address": "6422999888", "direction": "OUTBOUND", "content": "Hello world", "date": "2023-06-14T09:06:46Z", "user_metadata": { "myMetdataKey": "value 3" } }