v1

latestSwagger 2.0Agriya Infoway Licence2026-07-1716286204.2 KB
City

Fetch city

Returns a city based on a single ID

get/cities/{cityId}

Path parameters

cityIdinteger required

ID of city to fetch

Query parameters

tokenstring string required

OAuth token

Response

Fetched city

idinteger
created_atstring
updated_atstring
country_idinteger
state_idinteger
namestring
slugstring
city_codestring
is_activeinteger