Skip to main content
GET
/
v1
/
channels
/
providers
List Channel Providers
curl --request GET \
  --url https://api.example.com/v1/channels/providers
{
  "data": {
    "providers": [
      {
        "channel": "<string>",
        "connected": true,
        "display_name": "<string>",
        "account_id": "<string>",
        "connected_at": "<string>",
        "last_sync_at": "<string>",
        "status": "<string>",
        "error_message": "<string>",
        "capabilities": [
          {}
        ]
      }
    ]
  }
}

Request

Use this endpoint to detect which channels are ready to send/receive messages, and to surface connection errors to users before they attempt to send.

Query Parameters

None.

Headers

Authorization: Bearer wbk_your_api_key_here

Response

data
object
Responses include X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-Request-ID.
curl https://data.leadlex.com/functions/v1/api-gateway/v1/channels/providers \
  -H "Authorization: Bearer wbk_your_api_key_here"

Example Response

{
  "data": {
    "providers": [
      {
        "channel": "slack",
        "connected": true,
        "display_name": "LeadLex Eng",
        "account_id": "T01234567",
        "connected_at": "2026-02-11T09:00:00Z",
        "last_sync_at": "2026-04-17T10:30:00Z",
        "status": "healthy",
        "error_message": null,
        "capabilities": ["send", "receive", "attachments"]
      },
      {
        "channel": "teams",
        "connected": false,
        "display_name": null,
        "account_id": null,
        "connected_at": null,
        "last_sync_at": null,
        "status": "disconnected",
        "error_message": null,
        "capabilities": []
      }
    ]
  }
}

Errors

StatusCodeDescription
401invalid_keyInvalid or expired API key
403insufficient_permissionsMissing read:channels permission
429rate_limitedRate limit exceeded