Check RCS reachability for up to 10,000 numbers
POST
/v1/agents/{agent_id}/capabilities/batch
const url = 'https://example.com/v1/agents/example/capabilities/batch';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"phone_numbers":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/agents/example/capabilities/batch \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "phone_numbers": [ "example" ] }'Checks RCS reachability in bulk (1 to 10,000 numbers) for this agent. Numbers in not_reachable are not reachable for this agent now (including unlaunched carriers). Cached results are reused for 24 hours.
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
Request Body required
Section titled “Request Body required ” Media type application/json
object
phone_numbers
required
Array<string>
Example generated
{ "phone_numbers": [ "example" ]}Responses
Section titled “ Responses ” Media type application/json
object
checked_with_google
required
integer
from_cache
required
integer
invalid
required
Array<string>
not_reachable
required
Array<string>
reachable
required
Array<string>
Example generated
{ "checked_with_google": 1, "from_cache": 1, "invalid": [ "example" ], "not_reachable": [ "example" ], "reachable": [ "example" ]}Agent not verified
Agent not found
Capability check limit for this agent reached; retry in a minute