POST Create Webhook​
POST
/webhooks
Create a new webhook for receiving contact data. Supports both standard contact webhooks and SMS webhooks (requires Fluent Campaign Pro). For standard webhooks, name and status are required. For SMS webhooks, set type to sms_webhook and provide sms_provider. A unique URL is generated automatically.
Authorizations​
ApplicationPasswords
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Type
API Key (header: Authorization)
Request Body​
application/json
JSON
{
"name": "string",
"status": "string",
"lists": [
0
],
"tags": [
0
],
"companies": [
0
],
"type": "string",
"sms_provider": "string"
}
Responses​
Webhook created successfully.
application/json
JSON
{
"id": 0,
"webhook": {
"name": "string",
"status": "string",
"lists": [
0
],
"tags": [
0
],
"url": "string"
},
"webhooks": [
{
"id": 0,
"object_type": "string",
"key": "string",
"value": {
"name": "string",
"status": "string",
"lists": [
0
],
"tags": [
0
],
"companies": [
0
],
"url": "string"
},
"created_at": "string",
"updated_at": "string"
}
],
"message": "string"
}