Skip to content

Retrieve a list of all states within a specified country

GET
/countries/{countryId}/states

Fetches and returns the details of all states associated with a given countryId.

Parameters

Path Parameters

countryId
required
number

Responses

200

Success

object
message
required
string
Success
success
required
boolean
data
required
object
statusCode
required
number
200