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

# List All Campaigns

Retrieves all Campaigns.

## HTTP Request

`GET https://api.vindicia.com/campaigns`

## Route (URL) Parameters

None.

## Query Parameters

| Parameter | Default | Description | Required |
| - | - | - | - |
| limit | 20 | A limit on the number of objects to be returned, between 1 and 100. | No |
| starting\_after | none | A cursor for use in pagination. starting\_after is an object **id** that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj\_foo, your subsequent call can include starting\_after=obj\_foo in order to fetch the next page of the list. | No |
| ending\_before | none | A cursor for use in pagination. ending\_before is an object **id** that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj\_bar, your subsequent call can include ending\_before=obj\_bar in order to fetch the previous page of the list. | No |
| state | none | Can be `Active`, `Canceled`, `Complete`, `Inactive`, `MatchAnyState`, `Pending` | No |

## Accepts

None.

## Returns

JSON - A *list* array with a data property that contains an array of up to limit [Campaigns](Campaigns), starting after the specified starting\_after Campaign (or ending before the specified ending\_before Campaign). Each entry in the array is a full Campaign object. If no more Campaign are available, the resulting array will be empty. This request should never throw an error.

A *list* of [Campaign](Campaigns) objects matching the query. Also:

* “total\_count”: Integer count of the number of Campaigns in the returned list.

* “url”: The query string provided in the request

* “next”: The route (partial URL) to the next Campaign object (string to select the “next”); included **id** should match that of the last object returned here

* “previous”: The route (partial URL) to the previous Campaign object (string to select the “previous”); included **id** should match that of the first object returned here

**Parent topic:**[Campaigns](../topics/Campaigns)


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