Event
Trigger an event
POST
/
api
/
v2
/
public
/
event
This API triggers a Cobalt event. This would trigger all the workflows associated with the specified event.
Request description
Headers
linked_account_id
string
requiredApplication slug. Eg: pipedrive
config_id
string
If not provided, linked_account_id
is considered by default.
Body Parameters
event
string
requiredEvent 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