Skip to main content

List allowed IP addresses

GET /v2/ipaddresses

Request

Use this request to retrieve a list of IP addresses that are allowed to access the API.

Query parameters

limit
integer
The maximum number of items to return. For example, limit=25. By default, this is set to 100.Allowable values: [ 1 .. 100000 ]
offset
integer
The number of items to skip before returning the results. For example, offset=200. By default, this is set to 0.Allowable values: A valid integer

Response

If your request is successful, you’ll receive a 200 response containing a list of the IP addresses that can currently access the API, sorted in numerical order by ip.
For more detailed information about this request and its response, see the API reference.

Add an IP address

POST /v2/ipaddresses

Request

Use this request to allow a new IP address to access the API.

Request body schema

ip
string
required
The IP address that you want to add.Allowable values: ≤ 50 characters
description
string
required
A description of the IP address.Allowable values: ≤ 256 characters

Response

If your request is successful, you’ll receive a 201 response containing details about the newly-added IP address.
For more detailed information about this request and its response, see the API reference.