POST
/
api
/
v2
/
public
/
event
/
:slug
curl --request POST \
  --url https://api.gocobalt.io/api/v2/public/event/:slug \
  --header 'Content-Type: application/json' \
  --header 'linked_account_id: <linked_account_id>' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "event": "<string>",
  "payload": {}
}'
{
    "message": "Webhook Fired Success"
}

This Api triggers a webhook event for a specific application. You first need to create the event on your Cobalt dashboard

Request description

Headers

linked_account_id
string
required

Application slug. Eg: pipedrive

Path Parameters

slug
string

Application slug. Eg: pipedrive

Body Parameters

event
string
required

Event Name

payload
object

Event payload with user data required for the workflow.

Example payload
  {
    "first_name": "Mark",
    "last_name": "wood",
    "employee_id": 221,
    "is_new": false,
    "address":{
      "house_no":"221",
      "street": "lorem ipsum",
      "pincode":560103
    }
  }

Response description

message
string

System generated message

{
    "message": "Webhook Fired Success"
}