Check if a phone number or phone number 1k prefix exists in SafeList.

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://twilio.demo.bump-doc.com/doc/accounts/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Accounts MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/accounts/mcp"
}
Close
GET /v1/SafeList/Numbers

Check if a phone number or phone number 1k prefix exists in SafeList.

Query parameters

  • PhoneNumber string

    The phone number or phone number 1k prefix to be fetched from SafeList. Phone numbers must be in E.164 format.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • sid string | null

      The unique string that we created to identify the SafeList resource.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^GN[0-9a-fA-F]{32}$.

    • phone_number string | null

      The phone number or phone number 1k prefix in SafeList.

GET /v1/SafeList/Numbers
curl \
 --request GET 'https://accounts.twilio.com/v1/SafeList/Numbers' \
 --user "username:password"
Response examples (200)
{
  "sid": "GNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "phone_number": "+18001234567"
}