Relay Targets
Complete lifecycle guide for email, webhook, Slack, and Discord relay targets.
12 min read
Relay targets are delivery destinations used by endpoint outputs.
Purpose
Use this guide to:
- Create and edit targets.
- Configure webhook auth and custom headers.
- Confirm email targets.
- Send tests.
- Remove unused targets.
Prerequisites and permissions
- Signed-in account.
- Valid destination details (email or webhook URL).
Step-by-step workflow
1. Create a target
- Open
Relay targets. - Select
Add target. - Choose type:
EmailWebhook URLSlack webhookDiscord webhook
- Enter target value and optional name/description.
- Save.
2. Configure webhook targets (Webhook URL type)
Available options:
Require valid SSL certificate- Auth type:
None,Basic,Bearer,API key - Custom headers (up to 25)
Validation rules:
- URL must be
httporhttpsand not localhost/private-network ranges. - API key/custom header names must use letters, numbers, and hyphens.
- Custom headers cannot conflict with auth headers.
3. Confirm email targets
Email targets start as Pending.
- Open confirmation link.
- Confirmation page previews token validity (
GET /relay-targets/confirm). - Select
Confirm relay targetto consume token (POST /relay-targets/confirm/consume). - Verify status becomes
Confirmed.
Resend confirmation is available for pending email targets.
4. Edit or delete targets
- Type cannot be changed after creation.
- Secrets can be left blank on edit to keep current stored values.
- Delete fails if the target is still used by an endpoint output.
5. Send test deliveries
Use Send test in the targets list.
Behavior by type:
- Email: requires confirmed status.
- Slack/Discord: queues test message.
- Webhook: choose method + payload format + include body.
Webhook test rules:
- Method must be explicit (not
ANY). GET/HEADtests never include body.- Test outcomes appear in Activity as
TEST_ACCEPTED,TEST_REJECTED, orTEST_RATE_LIMITED. - Test API is rate limited to 5 requests per minute per account.
Expected result and verification checks
- Target appears with expected type and status.
- Confirmed email targets are selectable in endpoint outputs.
- Test deliveries are queued and reflected in Activity.
Common issues and fixes
- Invalid target URL: check protocol/host format and avoid private hosts.
- Email target blocked from outputs: confirm target first.
- Test rate-limited: wait for
Retry-Afterwindow. - Webhook test rejected: verify auth type, required credentials, and payload settings.