POST
/v1/delivery/test-{route}Test Delivery Configuration
Verify delivery configurations before activating themTest endpoints allow you to verify your delivery configurations work correctly before activating automatic delivery. Each delivery method has its own test endpoint.
Available Test Endpoints
Test Email
Route:
/v1/delivery/test-email
Purpose:
Verify email address can receive notifications
Test Google Sheet
Route:
/v1/delivery/test-googlesheet
Purpose:
Verify sheet permissions and accessibility
Test Webhook
Route:
/v1/delivery/test-webhook
Purpose:
Verify webhook endpoint is reachable and responding
Test Amazon S3
Route:
/v1/delivery/test-s3
Purpose:
Verify S3 bucket permissions and credentials
Test SFTP
Route:
/v1/delivery/test-sftp
Purpose:
Verify SFTP server connectivity and credentials
Headers
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
Test Email - Request Body
emailstring
RequiredExample: user@example.com
Test Google Sheet - Request Body
urlstring
RequiredExample: https://docs.google.com/spreadsheets/d/1ly9nwTs-hNaFCzWtSljevSf16chs5Nn0PIv_TpQSEhA/edit?usp=sharing
Test Webhook - Request Body
urlstring
RequiredExample: https://your-webhook.com/endpoint
Test Amazon S3 - Request Body
bucketstring
RequiredExample: my-bucket
aws_access_keystring
OptionalExample: AKIAIOSFODNN7EXAMPLE
aws_secret_keystring
OptionalExample: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Test SFTP - Request Body
hoststring
RequiredExample: sftp.example.com
portinteger
RequiredExample: 22
usernamestring
RequiredExample: user
passwordstring
RequiredExample: password
directorystring
RequiredExample: /upload/path
Parameters
routestring
RequiredExample:
emailPro Tip
Always test your delivery configuration before activating automatic delivery to catch permission or connectivity issues early.
Note
Test endpoints do not require a squid parameter - they only verify that your credentials and endpoints work.
Warning
A successful test response (success: true) means the configuration is valid, but doesn't guarantee future deliveries will succeed if permissions change.
Pro Tip
For webhook tests, check the status_code field to ensure your endpoint returns 200/201/202 as expected.
Note
Test endpoints use the same validation logic as the actual delivery system, so a successful test is a reliable indicator.