Lewati ke konten

Check RCS reachability for one number

GET
/v1/agents/{agent_id}/capabilities
curl --request GET \
--url 'https://example.com/v1/agents/example/capabilities?phone_number=example' \
--header 'Authorization: Bearer <token>'

Returns whether the number can receive RCS from this agent and which features the device supports. Unreachable numbers return reachable: false (HTTP 200). Results are cached for 24 hours. Checking does not send a message and is not charged.

agent_id
required
string

Agent UUID or Google agent id from GET /v1/channels

phone_number
required
string

E.164 phone number, e.g. +6281234567890

Media type application/json
object
cached
required
boolean
features
required
Array<string>
phone_number
required
string
reachable
required
boolean
Example generated
{
"cached": true,
"features": [
"example"
],
"phone_number": "example",
"reachable": true
}

Agent not verified

Agent not found

Capability check limit for this agent reached; retry in a minute