Pinnacle
API ReferenceRCS Agents

List Whitelisted Numbers

Serverhttps://api.pinnacle.sh/
POST
/rcs/test/numbers/list

Request body

Edit JSON, then apply it to your request.

JSON

List all whitelisted test numbers with optional filtering and pagination. Results are sorted by creation date, newest first.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

pageIndexintegerOptional
Range
0 <= value
Default
0
pageSizeintegerOptional
Range
1 <= value <= 100
Default
20
agentIdstringOptional

Filter whitelisted numbers by agent ID (prefixed with 'agent_').

Match
^agent_.*
Example
"agent_pinnacle"
numberstringOptional

Filter by phone number in E.164 format.

Match
^\+[1-9]\d{1,14}$
Example
"+14155550142"
statusstringOptional

Filter by whitelist status.

Allowed values
"ACCEPTED""REJECTED""PENDING"

Response Body

application/json

application/json

application/json

application/json

Pinnacle referenceAsk Pinnacle

Get a sourced answer from the published documentation.

ViewingPinnacle documentation

Conversations are saved for analysis.

Try asking