GET
/v1/country_specsList Country Specs
Lists all Country Spec objects available in the API. Use starting_after and ending_before to navigate between result pages, and limit to control the number of country specifications returned.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
ending_beforestringoptional
An object ID cursor that returns the page before the specified Country Spec. The value can contain up to 5000 characters.
expandarray<string>optional
Specifies response fields to expand; each value can contain up to 5000 characters.
limitintegeroptional
The number of Country Specs to return, from 1 to 100. Defaults to 10 when omitted.
starting_afterstringoptional
An object ID cursor that returns the page after the specified Country Spec. The value can contain up to 5000 characters.
200Returns a list object containing Country Specs in `data`, a `has_more` indicator, the list object type, and the list URL.
dataarray<CountrySpec>required
has_morebooleanrequired
True if this list has another page of items after this one that can be fetched.
objectstringrequired
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
urlstringrequired
The URL where this list can be accessed.
defaultError response.
errorobjectrequired
Error handling
limit must be between 1 and 100 and defaults to 10 when omitted. Use starting_after or ending_before with a Country Spec object ID to select the page position; each cursor must not exceed 5000 characters.