Fetch Channel By Id

Get Channel By Id

GET https://api.oneroute.io/api/public/channel/:id

This endpoint allows you to fetch a channel by its ID.

Path Parameters

NameTypeDescription

id

string

id of the channel to fetch.

Headers

NameTypeDescription

apiKey

string

API Key for authentication.

{
    "data": {
        "id": "553e8ec2-bdc2-4b01-b6bf-eb07fa640218",
        "phone": null,
        "identifier": "OneRoute SMS",
        "medium": "SMS",
        "credentials": null,
        "description": "SMS Channel",
        "name": "OneRoute SMS",
        "type": "CUSTOM",
        "country": "NG",
        "status": "ACTIVE",
        "createdAt": "2021-08-04T12:32:11.543Z",
        "updatedAt": "2021-08-04T12:32:11.543Z",
        "firm_id": "e9e46626-0093-4bf6-a657-2a824567d801",
        "provider_config_id": "d2fd2feb-06dc-4787-ae3e-dbeb20e184d2"
    },
    "message": "channel fetched successfully",
    "success": true
}

Last updated