API References
Subscriber
POST /sub

Create Subscriber

Create a subscriber entity, in the Wolf platform. The subscriber will be later used to receive notifications. Communication credentials such as email, phone number, and 3 rd party credentials i.e telegram tokens, slack tokens could be later associated to this entity.


channelIdentifier
string
required
The ID of the Workflow you created.
channelName
string
required
The ID of the Workflow you created.
channelDescription
string
optional
Override the variables we predefined.
target
object
required
Information of the message recipient.
subcriberId
string
required
We will create a subscriber with the ID you provide.
phone
string
required
email
string
required
...variables
any[]
optional
The variables you self-define in the workflow.
ENDPOINTS
POST
/v1/trigger
REQUEST
{
  "workflowId": "string",
  "data": {},
  "target": {
  "subcriberId": "string",
  "phone": "string",
  "email": "string"
},
  "overrides": {}
}

RESPONSE
200
{
  "transactionId": "string"
}