Skip to Content
WhatsApp API by Retention Stack

Channels

WhatsApp Channels (newsletters)

List channels

GET
/v1/sessions/{session}/channels

List channels visible to your session, optionally filtered by role. Use the returned channel ID unchanged for channel-specific calls.

Authorization

BearerAuth
headerAuthorizationBearer <ch_live_... | ak_live_...>

Direct WhatsApp Session Token (Authorization: Bearer ch_live_...) or Account API Key (ak_live_...). Generated in your dashboard at https://whatsapp-messaging.retentionstack.agency/start.

Path Parameters

session*string

WhatsApp session name. With a session token (ch_live_...), me targets that token's session; with an account key, use the session name.

Length1 <= length

Response Body

Invalid request or session not ready. Inspect error.details for validation issues, currentStatus, nextSteps or nextStep; link WhatsApp before sending.

application/json
  1. response
success*false
Value infalse
error*
timestamp*string
Formatdate-time
Example Request
curl -X GET 'https://wp-rapidapi.retentionstack.agency/v1/sessions/me/channels'
Example Response
{  "success": true,  "data": {},  "timestamp": "2026-11-02T00:00:00.000Z"}

Create channel

POST
/v1/sessions/{session}/channels

Create a WhatsApp channel with a name and optional description or picture. This changes the linked account’s channels; use the returned channel identifier for later calls.

Authorization

BearerAuth
headerAuthorizationBearer <ch_live_... | ak_live_...>

Direct WhatsApp Session Token (Authorization: Bearer ch_live_...) or Account API Key (ak_live_...). Generated in your dashboard at https://whatsapp-messaging.retentionstack.agency/start.

Path Parameters

session*string

WhatsApp session name. With a session token (ch_live_...), me targets that token's session; with an account key, use the session name.

Length1 <= length

Request Body

Create a new WhatsApp channel

application/json
  1. body

Create a new WhatsApp channel

name*string

Channel name (1-255 characters)

Length1 <= length <= 255
description?string

Optional channel description (max 1000 characters)

Lengthlength <= 1000
picture?

Optional channel profile picture

Response Body

Invalid request or session not ready. Inspect error.details for validation issues, currentStatus, nextSteps or nextStep; link WhatsApp before sending.

application/json
  1. response
success*false
Value infalse
error*
timestamp*string
Formatdate-time
Example Request
curl -X POST 'https://wp-rapidapi.retentionstack.agency/v1/sessions/me/channels' \  -H 'Content-Type: application/json' \  -d '{  "name": "Order updates"}'
Example Response
{  "success": true,  "data": {},  "timestamp": "2026-11-02T00:00:00.000Z"}

Get channel

GET
/v1/sessions/{session}/channels/{channelId}

Read channel information using a channelId returned by channel listing or creation. Access depends on the linked account and WhatsApp permissions.

Authorization

BearerAuth
headerAuthorizationBearer <ch_live_... | ak_live_...>

Direct WhatsApp Session Token (Authorization: Bearer ch_live_...) or Account API Key (ak_live_...). Generated in your dashboard at https://whatsapp-messaging.retentionstack.agency/start.

Path Parameters

session*string

WhatsApp session name. With a session token (ch_live_...), me targets that token's session; with an account key, use the session name.

Length1 <= length
channelId*string

Channel ID

Length1 <= length

Response Body

Invalid request or session not ready. Inspect error.details for validation issues, currentStatus, nextSteps or nextStep; link WhatsApp before sending.

application/json
  1. response
success*false
Value infalse
error*
timestamp*string
Formatdate-time
Example Request
curl -X GET 'https://wp-rapidapi.retentionstack.agency/v1/sessions/me/channels/120363024802736123%40newsletter'
Example Response
{  "success": true,  "data": {},  "timestamp": "2026-11-02T00:00:00.000Z"}

Delete channel

DELETE
/v1/sessions/{session}/channels/{channelId}

Delete the channel identified by channelId. Your linked account must have the required WhatsApp permissions. This is destructive; verify state before retrying an uncertain result.

Authorization

BearerAuth
headerAuthorizationBearer <ch_live_... | ak_live_...>

Direct WhatsApp Session Token (Authorization: Bearer ch_live_...) or Account API Key (ak_live_...). Generated in your dashboard at https://whatsapp-messaging.retentionstack.agency/start.

Path Parameters

session*string

WhatsApp session name. With a session token (ch_live_...), me targets that token's session; with an account key, use the session name.

Length1 <= length
channelId*string

Channel ID

Length1 <= length

Response Body

Invalid request or session not ready. Inspect error.details for validation issues, currentStatus, nextSteps or nextStep; link WhatsApp before sending.

application/json
  1. response
success*false
Value infalse
error*
timestamp*string
Formatdate-time
Example Request
curl -X DELETE 'https://wp-rapidapi.retentionstack.agency/v1/sessions/me/channels/120363024802736123%40newsletter'
Example Response
{  "success": true,  "data": {},  "timestamp": "2026-11-02T00:00:00.000Z"}
GET
/v1/sessions/{session}/channels/{channelId}/messages/preview

Read preview messages for a channel. Optional limit and downloadMedia query parameters are passed to the messaging engine; their engine-specific limits are not enforced by this proxy.

Authorization

BearerAuth
headerAuthorizationBearer <ch_live_... | ak_live_...>

Direct WhatsApp Session Token (Authorization: Bearer ch_live_...) or Account API Key (ak_live_...). Generated in your dashboard at https://whatsapp-messaging.retentionstack.agency/start.

Path Parameters

session*string

WhatsApp session name. With a session token (ch_live_...), me targets that token's session; with an account key, use the session name.

Length1 <= length
channelId*string

Channel ID

Length1 <= length

Query Parameters

downloadMedia?string

Download media with messages (true/false)

limit?string

Number of messages to preview

Response Body

Invalid request or session not ready. Inspect error.details for validation issues, currentStatus, nextSteps or nextStep; link WhatsApp before sending.

application/json
  1. response
success*false
Value infalse
error*
timestamp*string
Formatdate-time
Example Request
curl -X GET 'https://wp-rapidapi.retentionstack.agency/v1/sessions/me/channels/120363024802736123%40newsletter/messages/preview?limit=20'
Example Response
{  "success": true,  "data": {},  "timestamp": "2026-11-02T00:00:00.000Z"}