Skip to main content

Campaign List

Get a list of campaigns

HTTP Request

[GET] /api/v6/campaigns

Query Parameters

Fields

FieldsTypeDescription
idintegerIdentifier
campaign_namestringCampaign name
token_apistringToken
descriptionstringDescription
start_datetimestampStart date
end_datetimestampEnd date

Filtering

FieldsSupportTypeDescription
ideq,inintegerIdentifier
validis,inintegerValid or not

Sort

| Sort (field) | Direction |
|:-------------|-----------|
| id | asc,desc |
| updated_at | asc,desc |\

Limit & Offset

TypeDescription
LimitintegerNumber of records to retrieve
OffsetintegerNumber of records to skip

Example

HTTP Request

GET api/v6/campaigns?fields=campaign_name&filtering[id]=4&limit=1&offset=0 HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json

Status

200 OK

Response

{
"data": [
{
"id": 4,
"campaign_name": "TEST CAMPAIGN API"
}
],
"has_more": false,
"offset": 0,
"limited": 1
}