webhooks
GET
https://lucida.15-204-158-166.sslip.io /v1/projects/{project_id}/webhooks Parameters
project_idstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/webhooks"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of Endpoint, newest first
404
POST
https://lucida.15-204-158-166.sslip.io /v1/projects/{project_id}/webhooks Parameters
project_idstringpathrequiredRequest body
application/json
enabledbooleaneventsstring[]Event types; empty or omitted means all.
namestringsecretstringOptional signing secret (min 16 characters); generated when omitted.
urlstringrequired{
"enabled": true,
"events": [
"string"
],
"name": "string",
"secret": "string",
"url": "string"
}Code samples
cURL
curl -X POST "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/webhooks" \
-H "Content-Type: application/json" \
-d '{"enabled":true,"events":["string"],"name":"string","secret":"string","url":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
Example
{
"created_at": "2024-01-01T00:00:00Z",
"enabled": true,
"events": [
"string"
],
"id": "string",
"name": "string",
"project_id": "string",
"url": "string",
"secret": "string"
}Schema
created_atstringrequiredenabledbooleanrequiredeventsstring[]requiredSubscribed event types; empty means all.
idstringrequirednamestringrequiredproject_idstringrequiredurlstringrequiredsecretstringShown once, only when the server generated it; stored envelope-encrypted.
400
403
404
GET
https://lucida.15-204-158-166.sslip.io /v1/projects/{project_id}/webhooks/event-types Parameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/webhooks/event-types"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Array of event type strings
404
GET
https://lucida.15-204-158-166.sslip.io /v1/projects/{project_id}/webhooks/{id} Parameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/webhooks/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"created_at": "2024-01-01T00:00:00Z",
"enabled": true,
"events": [
"string"
],
"id": "string",
"name": "string",
"project_id": "string",
"url": "string"
}Schema
created_atstringrequiredenabledbooleanrequiredeventsstring[]requiredSubscribed event types; empty means all.
idstringrequirednamestringrequiredproject_idstringrequiredurlstringrequired404
DELETE
https://lucida.15-204-158-166.sslip.io /v1/projects/{project_id}/webhooks/{id} Parameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/webhooks/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
PATCH
https://lucida.15-204-158-166.sslip.io /v1/projects/{project_id}/webhooks/{id} Parameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
enabledbooleaneventsarraynamestringurlstring{
"enabled": true,
"events": [
"string"
],
"name": "string",
"url": "string"
}Code samples
cURL
curl -X PATCH "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/webhooks/{id}" \
-H "Content-Type: application/json" \
-d '{"enabled":true,"events":["string"],"name":"string","url":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
GET
https://lucida.15-204-158-166.sslip.io /v1/projects/{project_id}/webhooks/{id}/deliveries Parameters
project_idstringpathrequiredidstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/webhooks/{id}/deliveries"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of Delivery, newest first
404
POST
https://lucida.15-204-158-166.sslip.io /v1/projects/{project_id}/webhooks/{id}/test Parameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X POST "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/webhooks/{id}/test"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 The logged test delivery (status
delivered or failed)Example
{
"attempts": 0,
"created_at": "2024-01-01T00:00:00Z",
"delivered_at": "2024-01-01T00:00:00Z",
"endpoint_id": "string",
"event_id": "string",
"event_type": "string",
"id": "string",
"last_error": "string",
"last_status": 0,
"next_attempt_at": "2024-01-01T00:00:00Z",
"status": "string"
}Schema
attemptsintegerrequiredcreated_atstringrequireddelivered_atstringendpoint_idstringrequiredevent_idstringrequiredevent_typestringrequiredidstringrequiredlast_errorstringlast_statusintegernext_attempt_atstringrequiredstatusstringrequiredpending | delivered | failed403
404
Updated