Check RCS reachability for one number
GET
/v1/agents/{agent_id}/capabilities
const url = 'https://example.com/v1/agents/example/capabilities?phone_number=example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” agent_id
required
string
Agent UUID or Google agent id from GET /v1/channels
Query Parameters
Section titled “Query Parameters ” phone_number
required
string
E.164 phone number, e.g. +6281234567890
Responses
Section titled “ Responses ” 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