> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.trypila.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch List of States

> This endpoint returns the list of States in Nigeria

### Request

```http [GET] theme={null}
{{baseUrl}}/api/v1/general/states
```

### Header

| Header | Type | Description |
| - | - | - |
| AppId | string | Create an app to get your app ID on dashboard [here](https://dashboard.trypila.co/developers/configuration) |
| Authorization | string | private key |

### Sample response

```json Response theme={null}
{"states":["Abia","Adamawa","Akwa Ibom","Anambra","Bauchi","Bayelsa","Benue","Borno","Cross River","Delta","Ebonyi","Edo","Ekiti","Enugu","Federal Capital Territory","Gombe","Imo","Jigawa","Kaduna","Kano","Katsina","Kebbi","Kogi","Kwara","Lagos","Nasarawa","Niger","Ogun","Ondo","Osun","Oyo","Plateau","Rivers","Sokoto","Taraba","Yobe","Zamfara"]}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.