v1

latestOpenAPI 3.0.22026-07-26191278525.6 KB
Question

Get Location Options

State/region options for a given country, scoped to the current tenant. Used to render country-dependent state dropdowns alongside question templates.

get/api/v2/question/location/options

Query parameters

countrystring required

Country to fetch state/region options for

excludestring

Exclude specific fields in the response. Possible values are the names of the top level fields present in corresponding API schema. To check API schema, expand the response section below.

keyListstring

Allows selective control over the fields returned in the API response. If the keyList is empty, all fields will be returned. Possible values are the names of the top level fields present in corresponding API schema. To check API schema, expand the response section below.

Headers

Authorizationstring required

The secret key to access the api. It starts with the bearer token

Response

OK

labelstring nullable

Display label for the option

valuestring nullable

Value for the option