Retrieve the list of all states of a country

This API retrieves the list of all states of the specified country.

You must specify appropriate details for the country_id parameter in the API request.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Response Details

nametypedescription
idintUnique identifier of the state.
namestringName of the state.
short_namestringShort name of the state.
ErrorobjectObject that contains error message and error code details.
Path Params
int32
required

Mandatory Unique identifier of the required country for which you want to retrieve the list of states.

Query Params
boolean
Defaults to false

Optional Indicates whether default state selections for the country are to be displayed in the Countries list. Default value: false.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json