In this, you’ll setup the Events and API Proxies required for the integrations
Create Action
Developer
in Cobalt > API Proxies
> Click on the New Action
button > provide a Name
and Description
for the API Proxy > Click on the Create Action
button.Configure the Fields
Fields
tab > Click Edit
> And add Custom fields for your action.Configure the API Call
API Call
tab > Click Edit
> Configure the API call to be executed upon triggering the action by defining HTTP Method, Path Params etc.Developer
in Cobalt > Events
> Click on New Event
> Select a Model
> Update the sample Payload to your requirements > Click on Create Event
.
Trigger an Event
/event/:slug
endpoint. linked_account_id
is a mandatory field to be passed while making the request.Param | Required | Type | Description |
---|---|---|---|
linked_account_id | Mandatory | String | Unique customer identifier |
event | Mandatory | String | Name of the event |
payload | Optional | Object | Event payload with user data required for the workflow. |