Setting up with API calls

Get client many webhooks

get

Retrieve multiple webhook URLs for a client.

Authorizations
Query parameters
activebooleanOptional

Filter active webhooks

uuids[]stringOptional

Filter by webhook UUIDs

Responses
200
OK
application/json
get
GET /webhook-url/get-many HTTP/1.1
Host: api.services.wassa.io
Authorization: Bearer JWT
Accept: */*
200

OK

[
  {
    "active": true,
    "webhookToken": "wis-wht_IYXYVOI2ZP2C3CXOCP",
    "webhookUrl": "http://<your-webhook-url>",
    "uuid": "c780fddb-1b37-4155-9f55-d229f77faaaf",
    "createdAt": "2024-06-04T10:29:10.656Z",
    "updatedAt": "2024-06-04T10:29:10.656Z"
  }
]

Create new webhook

post

Create a new webhook URL.

Authorizations
Body
webhookUrlstringRequired
Responses
201
Created
application/json
post
POST /webhook-url/ HTTP/1.1
Host: api.services.wassa.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 42

{
  "webhookUrl": "http://<your-webhook-url>"
}
201

Created

{
  "active": true,
  "webhookToken": "text",
  "webhookUrl": "text",
  "uuid": "text",
  "createdAt": "2025-06-28T09:01:41.552Z",
  "updatedAt": "2025-06-28T09:01:41.552Z"
}

Update webhook URL

put

Update an existing webhook URL.

Authorizations
Path parameters
uuid-webhookstringRequired

UUID of the webhook to update

Body
webhookUrlstringRequired
Responses
200
OK
application/json
put
PUT /webhook-url/{uuid-webhook} HTTP/1.1
Host: api.services.wassa.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 42

{
  "webhookUrl": "http://<your-webhook-url>"
}
200

OK

{
  "active": true,
  "webhookToken": "text",
  "webhookUrl": "text",
  "uuid": "text",
  "createdAt": "2025-06-28T09:01:41.552Z",
  "updatedAt": "2025-06-28T09:01:41.552Z"
}

Delete webhook URL

delete

Delete an existing webhook URL.

Authorizations
Path parameters
uuid-webhookstringRequired

UUID of the webhook to delete

Responses
204
No Content
delete
DELETE /webhook-url/{uuid-webhook} HTTP/1.1
Host: api.services.wassa.io
Authorization: Bearer JWT
Accept: */*
204

No Content

No content

Test webhook URL

post

Test an existing webhook URL.

Authorizations
Path parameters
uuid-webhookstringRequired

UUID of the webhook to test

Responses
204
No Content
post
POST /webhook-url/test/{uuid-webhook} HTTP/1.1
Host: api.services.wassa.io
Authorization: Bearer JWT
Accept: */*
204

No Content

No content

Last updated