You are reading the docs for API v2.0, an older version.

Go to v2.1

Search phone prefix

POSThttps://api.foxentry.com/phone/search

Foxentry will list all phone prefixes matching your query. This can be used to implement a simple autocomplete.

Pay attention to the client section in the request body. You can specify the user's location in order to receive more relevant suggestions.

Headers

Api-Versionstring
API version the request is sent to. Without it the latest version is used.
Authorizationstringrequired
Your API key, sent as a Bearer token. Same key as in the key box on the right.

Body params

requestobjectrequired
Custom ID assigned by you if you need so.
queryobjectrequired
Parameters you want to validate or search for.
optionsobject
Options that change how the endpoint behaves.
clientobject
Information about your user, to make results more relevant.

Empty fields use the example value shown in grey. Everything you type here is written into the request on the right, and the other way round.

Responses