POST
/
webhooks
Create Webhook
curl --request POST \
  --url https://api.kakiyo.com/v1/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "CRM Integration",
  "url": "https://your-app.com/kakiyo/webhook",
  "secret": "your_webhook_secret",
  "events": [
    "linkedin.message.received",
    "prospect.qualification.manual"
  ]
}'
{
  "id": "webhook_12345abcde",
  "name": "CRM Integration",
  "url": "https://your-app.com/kakiyo/webhook",
  "events": [
    "linkedin.message.received",
    "prospect.qualification.manual"
  ],
  "active": true,
  "message": "Webhook created successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Webhook to create

name
string
required
Example:

"CRM Integration"

url
string<uri>
required
Example:

"https://your-app.com/kakiyo/webhook"

events
enum<string>[]
required
Example:
[
"linkedin.message.received",
"prospect.qualification.manual"
]
secret
string
Example:

"your_webhook_secret"

Response

Webhook created successfully

id
string
Example:

"webhook_12345abcde"

name
string
Example:

"CRM Integration"

url
string
Example:

"https://your-app.com/kakiyo/webhook"

events
string[]
Example:
[
"linkedin.message.received",
"prospect.qualification.manual"
]
active
boolean
Example:

true

message
string
Example:

"Webhook created successfully"