Skip to content

Turn a webhook Sotirea turned off back on

POST
/v1/webhooks/{id}/enable
curl --request POST \
--url https://api.sotirea.com/v1/webhooks/1/enable \
--header 'Authorization: Bearer <token>'

Sotirea turns a webhook off once every delivery to it has failed for 3 days and at least 10 attempts. Turning it on starts a clean run; deliveries given up can then be resent.

id
required
integer

The webhook’s id.

Done.

Media typeapplication/json
object
data
required
object
done
required
boolean
meta
object
request_id

Quote it when asking about a request; it is in the X-Request-Id header too.

string
success
required

Example

{
"success": true
}

Refused or failed, in words a person can act on.

Media typeapplication/json
object
error
required
object
code
required
string
fields
object
key
additional properties
string
message
required
string
meta
object
request_id

Quote it when asking about a request.

string
success
required

Example

{
"success": false
}