GET
List every country available as a country filter value. Each code is the exact two-letter value the jobs country filter accepts. Rows share the kind / code / population vocabulary of GET /locations/search, so one client type covers all three location endpoints. For type-ahead over countries, states, cities and regions at once, use GET /locations/search instead — this endpoint is for building a complete facet list.
bearerAuthheader
AuthorizationBearer <token>Provide your secret API key (prefixed sk_) as a bearer token: Authorization: Bearer sk_....
The available countries.
application/json- response
The list of countries usable as location filters.
data*array<>All countries available as country filter values.
curl -X GET 'https://example.com/api/v1/locations/countries'Example Response
{ "data": [ { "kind": "country", "code": "string", "name": "string", "slug": "string", "population": 0 } ]}