Channel · email
4 routes. Paths are relative to https://api.intersink.com/v1.
- GET/channels/{channelId}/mail/senderThe channel's email sender (no secrets) and how its email goes out now (own / platform until a date / off)
- PUT/channels/{channelId}/mail/senderSave the sender: provider (smtp, ses, resend, postmark, sendgrid), from name/address, credentials. Used after a test gets through.
- DELETE/channels/{channelId}/mail/senderRemove the sender (the channel's email stops unless the platform relay still covers it)
- POST/channels/{channelId}/mail/sender/testSend a test message through the saved sender; success switches the channel's email to it
The channel's email sender (no secrets) and how its email goes out now (own / platform until a date / off)
GET/channels/{channelId}/mail/sender
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| channelIdrequired | string, path |
Response
200. The payload in data is not described in the spec yet.
Save the sender: provider (smtp, ses, resend, postmark, sendgrid), from name/address, credentials. Used after a test gets through.
PUT/channels/{channelId}/mail/sender
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| channelIdrequired | string, path |
Response
200. The payload in data is not described in the spec yet.
Remove the sender (the channel's email stops unless the platform relay still covers it)
DELETE/channels/{channelId}/mail/sender
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| channelIdrequired | string, path |
Response
200. The payload in data is not described in the spec yet.
Send a test message through the saved sender; success switches the channel's email to it
POST/channels/{channelId}/mail/sender/test
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| channelIdrequired | string, path |
Response
200. The payload in data is not described in the spec yet.