Fetch Email Channels
GET
https://api.oneroute.io/api/public/channels/email
Query Parameters
Name
Type
Description
status (Optional)
String
status of the channels to fetch. Must be ACTIVE , INACTIVE or PENDING
name (Optional)
String
name of the channel to fetch
Headers
Name
Type
Description
apikey*
String
API key
{
"data": [
{
"id": "8d06688b-a050-4c40-89df-9ae0df36cb2c",
"phone": null,
"identifier": "support",
"medium": "EMAIL",
"credentials": {
"email": "[email protected]",
"emailDomain": "mail.oneroute.io"
},
"description": "Email Account to Sendgrid",
"name": "[email protected]",
"type": "CUSTOM",
"provider": null,
"country": "NG",
"env": "LIVE",
"status": "ACTIVE",
"webhookUrl": null,
"createdAt": "2021-07-16T07:56:41.226Z",
"updatedAt": "2021-07-16T07:56:41.226Z"
}
],
"message": "Channels fetched successfully",
"success": true
}
Last updated
Was this helpful?