Add addresses to a webhook
POST/webhook/add-addresses
Associate new addresses with an existing webhook to listen for their events.
Request
Query Parameters
apiKey stringrequired
The public API key for authentication.
Header Parameters
API-SECRET stringrequired
The secret API key for authentication.
- application/json
Body
required
webhookId string
addresses string[]
Responses
- 201
- 403
Addresses successfully added to the webhook.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
webhookId string
addresses string[]
[
{
"webhookId": "string",
"addresses": [
"string"
]
}
]
Access to the resource is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
statusCode integer
errorMessage string
error string
{
"statusCode": 403,
"errorMessage": "Forbidden resource",
"error": "Forbidden"
}
Loading...