Adding a recipient to an script with external trigger start condition
Last updated: 1 December 2025
To add a recipient to the script with the start block External Trigger, use the method api/v1/chatbots/trigger.
warning
The script you want to add a recipient to should be in the Active status.
Calling the api/v1/chatbots/trigger Method
To run a script for a recipient with the External trigger condition in the start block, send a POST request to the URL https://app.edna.io/api/v1/chatbots/trigger.
If the request is successful, the API method returns a response with the 200 code.
Request Body Format
{
"phone": "string",
"chatbotId": "string"
}
Request Example
{
"phone": "491234567890",
"chatbotId": "a79cda4f-61d1-45b8-b4bd-caeb23b35369"
}
Request Parameters
| Parameter | Data type | Character | Description |
|---|---|---|---|
phone | string | Required | The recipient's address is their phone number. To find out the recipient's address, use the method to request recipient data with the addresses.address parameter. Requesting Client Data |
chatbotId | string | Required | Internal script ID, you want to add the recipient to. To find out the internal script ID, open Scripts section in your edna Pulse account and copy ID from the address bar. Script Builder |