API ReferenceRCS Agents
List Whitelisted Numbers
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.
pageIndexintegerOptionalRange
0 <= value
Default
0
pageSizeintegerOptionalRange
1 <= value <= 100
Default
20
agentIdstringOptionalFilter whitelisted numbers by agent ID (prefixed with 'agent_').
Match
^agent_.*
Example
"agent_pinnacle"
numberstringOptionalFilter by phone number in E.164 format.
Match
^\+[1-9]\d{1,14}$
Example
"+14155550142"
statusstringOptionalFilter by whitelist status.
Allowed values
"ACCEPTED""REJECTED""PENDING"Response Body
application/json
application/json
application/json
application/json