SSoftLinkSMSDocs
Webhooks

Retrieve the webhook endpoint

GET
/api/v1/webhook-endpoint

Authorization

apiKeyAuth
headerX-Api-Key<token>

Your API key, sent as X-Api-Key. Format bsk_<key_id>.<secret>. Create one in the dashboard under Settings → Developer tools.

Response Body

application/json
  1. response
object*string
url*string
Formaturi
events*array<string>
secret_hint*string

The last 4 characters of the signing secret, to tell secrets apart.

created_at*string
Formatdate-time
updated_at*string
Formatdate-time
Example Request
curl -X GET 'https://api.softlinksms.co.ke/api/v1/webhook-endpoint'
Example Response
{  "object": "string",  "url": "http://example.com",  "events": [    "string"  ],  "secret_hint": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}