webhook-sources
PATCH
https://lucidace.com /v1/projects/{project_id}/webhook-sources/{id} Scope connector:writeParameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
authobjectShow child parameters
headerstringmodestringrequiredsecretstringrequiredtolerance_secsintegerenabledbooleanlog_keepintegerlog_payloadsbooleanmappingobjectShow child parameters
distinct_idstringdistinct_id_pathstringrequiredeventstringevent_pathstringevent_prefixstringeventsobjectid_pathstringinclude_payloadbooleanitems_pathstringpresetstringpropertiesobjecttimestamp_pathstringnamestring{
"auth": {
"header": "string",
"mode": "string",
"secret": "string",
"tolerance_secs": 0
},
"enabled": true,
"log_keep": 0,
"log_payloads": true,
"mapping": {
"distinct_id": "string",
"distinct_id_path": "string",
"event": "string",
"event_path": "string",
"event_prefix": "string",
"events": {},
"id_path": "string",
"include_payload": true,
"items_path": "string",
"preset": "atlas",
"properties": {},
"timestamp_path": "string"
},
"name": "string"
}Code samples
cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/webhook-sources/{id}" \
-H "Content-Type: application/json" \
-d '{"auth":{"header":"string","mode":"string","secret":"string","tolerance_secs":0},"enabled":true,"log_keep":0,"log_payloads":true,"mapping":{"distinct_id":"string","distinct_id_path":"string","event":"string","event_path":"string","event_prefix":"string","events":{},"id_path":"string","include_payload":true,"items_path":"string","preset":"atlas","properties":{},"timestamp_path":"string"},"name":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{
"auth": {
"has_secret": true,
"header": "string",
"mode": "string",
"tolerance_secs": 0
},
"created_at": "2024-01-01T00:00:00Z",
"enabled": true,
"id": "string",
"last_received_at": "2024-01-01T00:00:00Z",
"log_keep": 0,
"log_payloads": true,
"mapping": {
"distinct_id": "string",
"distinct_id_path": "string",
"event": "string",
"event_path": "string",
"event_prefix": "string",
"events": {},
"id_path": "string",
"include_payload": true,
"items_path": "string",
"preset": "atlas",
"properties": {},
"timestamp_path": "string"
},
"name": "string",
"token_prefix": "string"
}Schema
authobjectrequiredShow child parameters
has_secretbooleanrequiredheaderstringmodestringrequiredtolerance_secsintegercreated_atstringrequiredenabledbooleanrequiredidstringrequiredlast_received_atstringlog_keepintegerrequiredlog_payloadsbooleanrequiredmappingobjectrequiredShow child parameters
distinct_idstringdistinct_id_pathstringrequiredeventstringevent_pathstringevent_prefixstringeventsobjectid_pathstringinclude_payloadbooleanitems_pathstringpresetstringpropertiesobjecttimestamp_pathstringnamestringrequiredtoken_prefixstringrequireddefault Problem details (RFC 9457)
Example
{
"detail": "string",
"instance": "string",
"status": 0,
"title": "string",
"type": "string"
}Schema
detailstringinstancestringstatusintegertitlestringtypestringGET
https://lucidace.com /v1/projects/{project_id}/webhook-sources/{id}/payloads Scope connector:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/webhook-sources/{id}/payloads"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{
"data": [
{
"body": "string",
"client_ip": "string",
"headers": {},
"id": 0,
"method": "string",
"query": {},
"received_at": "2024-01-01T00:00:00Z",
"status": 0
}
]
}Schema
datawebhooksrc.Payload[]requiredShow child parameters
bodystringrequiredclient_ipstringrequiredheadersobjectrequiredidintegerrequiredmethodstringrequiredqueryobjectrequiredreceived_atstringrequiredstatusintegerrequireddefault Problem details (RFC 9457)
Same as default · PATCH /v1/projects/{project_id}/webhook-sources/{id}
POST
https://lucidace.com /v1/projects/{project_id}/webhook-sources/{id}/rotate Scope connector:writeParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/webhook-sources/{id}/rotate"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{
"auth": {
"has_secret": true,
"header": "string",
"mode": "string",
"tolerance_secs": 0
},
"created_at": "2024-01-01T00:00:00Z",
"enabled": true,
"id": "string",
"last_received_at": "2024-01-01T00:00:00Z",
"log_keep": 0,
"log_payloads": true,
"mapping": {
"distinct_id": "string",
"distinct_id_path": "string",
"event": "string",
"event_path": "string",
"event_prefix": "string",
"events": {},
"id_path": "string",
"include_payload": true,
"items_path": "string",
"preset": "atlas",
"properties": {},
"timestamp_path": "string"
},
"name": "string",
"path": "string",
"token": "string",
"token_prefix": "string"
}Schema
authobjectrequiredShow child parameters
has_secretbooleanrequiredheaderstringmodestringrequiredtolerance_secsintegercreated_atstringrequiredenabledbooleanrequiredidstringrequiredlast_received_atstringlog_keepintegerrequiredlog_payloadsbooleanrequiredmappingobjectrequiredShow child parameters
distinct_idstringdistinct_id_pathstringrequiredeventstringevent_pathstringevent_prefixstringeventsobjectid_pathstringinclude_payloadbooleanitems_pathstringpresetstringpropertiesobjecttimestamp_pathstringnamestringrequiredpathstringrequiredtokenstringrequiredtoken_prefixstringrequireddefault Problem details (RFC 9457)
Same as default · PATCH /v1/projects/{project_id}/webhook-sources/{id}
Updated