post
https://api.superwise.ai/v1/destinations/test
Test destination connectivity for Teams, Slack, Email, or generic Webhook.
For teams, POSTs a test JSON body to webhook_url (HTTP webhook / workflow). For slack, sends a test message via the Slack Web API using the stored bot token and channel_id—not an outbound POST to a caller-supplied URL. No destination row is required for that channel; the test only needs a valid Slack integration and channel id. For email, sends a short SMTP test message to the listed addresses. For webhook, POSTs a sample JSON payload to the supplied webhook_url with optional custom headers.
- request (DestinationTestRequest): Required. The payload that includes:
- integration_type (IntegrationType):
teams,slack,email, orwebhook - webhook_url (HttpUrl): Required for
teamsandwebhook. Target URL for the test POST. - integration_id (UUID): Required for
slack. Slack integration identifier. - channel_id (str): Required for
slack. Slack channel ID. - emails (List[str]): Required for
email. Recipient addresses. - headers (dict[str, str]): Optional for
webhook. Custom HTTP headers to attach.
- integration_type (IntegrationType):
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
204Successful Response
400Bad Request
404Not Found
422Unprocessable Entity
500Internal Server Error
