Skip to main content
POST
/
api
/
v1
/
users
/
me
/
channel-memberships
/
check
Check membership in a developer agent signal channel
curl --request POST \
  --url https://mcp.echozero.app/api/v1/users/me/channel-memberships/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "developerAgentId": "<string>"
}
'
{
  "success": true,
  "data": {
    "ok": true,
    "reason": "<string>",
    "channelId": "<string>",
    "channelName": "<string>",
    "telegramMemberStatus": "<string>",
    "telegramError": "<string>",
    "discordUsername": "<string>",
    "discordError": "<string>"
  }
}

Authorizations

Authorization
string
header
required

User JWT access token issued by POST /api/auth/verify or POST /api/auth/social/verify. Routes that accept both auth modes declare api-key and bearer-jwt security schemes.

Headers

x-signature
string

HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.

x-timestamp
string

Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.

Body

application/json
developerAgentId
string
required

Developer agent id whose active Telegram signal channel should be checked.

Response

Check result.

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload