Retrieves a list of states for a given country ISO code.

This method returns a list of all states for the specified country.

Each state includes its unique identifier, state code, and name.

Path parameters

isoCodestringRequired

The ISO code of the country.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-integration-namestringOptional

The name of the calling system passed along as a header parameter

Response

Success

errorobjectOptional

If the API call failed, this will contain information about the error that occurred.

successbooleanOptional

True if the API call succeeded; false otherwise.

hasErrorbooleanOptional

True if the API call failed.

statusCodeobjectOptional

The HTTP code of the response.

datalist of objectsOptional

If the API call succeeded, this will contain the results.