cURL
curl --request POST \ --url https://api.pocketflows.com/triggers/{id}/test_send \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "customer": "<string>", "to_email_address": "<string>", "to_phone_number": "<string>", "variables": {} } '
{}
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the trigger to test-send
The ID of the customer to test-send the trigger to
The email address to test-send the trigger to
The phone number to test-send the trigger to
The variables to test-send the trigger with
Whether the test send was successful
The response is of type object.
object