| Accept required | string Default: application/json |
| X-Api-Token required | string Default: 4ccb54f5-9885-408e-8bb7-fbc41bb27d44 |
{- "data": [
- {
- "type": "lead-fields",
- "id": "152eee2c-c0b1-11ec-a8e1-0242ac110002",
- "attributes": {
- "name": "origin",
- "createdAt": "2022-01-01 12:00:00",
- "updatedAt": "2022-01-01 12:00:00"
}
}
]
}| filter[parentId] | string <uuid> Example: filter[parentId]=155ddda2-dbf2-11ec-9f64-02420a00018f Filter by Parent ID |
| page | number Example: page=1 |
| perPage | number Example: perPage=25 |
| Accept required | string Default: application/json |
| X-Api-Token required | string Default: 4ccb54f5-9885-408e-8bb7-fbc41bb27d44 |
{- "data": [
- {
- "type": "lead-field-values",
- "id": "093dcef2-dbf1-11ec-87c7-02420a00018f",
- "attributes": {
- "leadFieldId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "value": "PPC",
- "parentIds": [
- "fe0d9fc0-9984-333e-b649-084a323b2c3d"
], - "isActive": true,
- "createdAt": "2022-01-01 12:00:00",
- "updatedAt": "2022-01-01 12:00:00"
}
}
]
}| Accept required | string Default: application/json |
| Content-Type required | string Default: application/json |
| X-Api-Token required | string Default: 4ccb54f5-9885-408e-8bb7-fbc41bb27d44 |
| value required | string |
| parentIds required | Array of arrays |
| isActive | boolean |
{- "value": "PPC",
- "parentIds": [
- "0ff0adb0-f3e7-11ec-a988-0242ac120004"
], - "isActive": "true"
}{- "data": {
- "type": "lead-field-values",
- "id": "093dcef2-dbf1-11ec-87c7-02420a00018f",
- "attributes": {
- "leadFieldId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "value": "PPC",
- "parentIds": [
- "fe0d9fc0-9984-333e-b649-084a323b2c3d"
], - "isActive": true,
- "createdAt": "2022-01-01 12:00:00",
- "updatedAt": "2022-01-01 12:00:00"
}
}
}| Accept required | string Default: application/json |
| X-Api-Token required | string Default: 4ccb54f5-9885-408e-8bb7-fbc41bb27d44 |
{- "data": {
- "type": "lead-field-values",
- "id": "093dcef2-dbf1-11ec-87c7-02420a00018f",
- "attributes": {
- "leadFieldId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "value": "PPC",
- "parentIds": [
- "fe0d9fc0-9984-333e-b649-084a323b2c3d"
], - "isActive": true,
- "createdAt": "2022-01-01 12:00:00",
- "updatedAt": "2022-01-01 12:00:00"
}
}
}| Accept required | string Default: application/json |
| Content-Type required | string Default: application/json |
| X-Api-Token required | string Default: 4ccb54f5-9885-408e-8bb7-fbc41bb27d44 |
| value | string |
| parentIds | Array of arrays |
| isActive | boolean |
{- "value": "PPC",
- "parentIds": [
- "0ff0adb0-f3e7-11ec-a988-0242ac120004"
], - "isActive": "true"
}{- "data": {
- "type": "lead-field-values",
- "id": "093dcef2-dbf1-11ec-87c7-02420a00018f",
- "attributes": {
- "leadFieldId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "value": "PPC",
- "parentIds": [
- "fe0d9fc0-9984-333e-b649-084a323b2c3d"
], - "isActive": true,
- "createdAt": "2022-01-01 12:00:00",
- "updatedAt": "2022-01-01 12:00:00"
}
}
}| Accept required | string Default: application/json |
| Content-Type required | string Default: application/json |
| X-Api-Token required | string Default: 4ccb54f5-9885-408e-8bb7-fbc41bb27d44 |
{- "errors": [
- {
- "status": 404,
- "title": "Not Found",
- "detail": "The requested resource was not found."
}
]
}| filter[leadFieldName] | string <text> Example: filter[leadFieldName]=origin Filter by lead fields [id, origin, medium, campaign, audience, targeting, pageType, type, targetUrl] |
| page | number Example: page=1 |
| perPage | number Example: perPage=25 |
| Accept required | string Default: application/json |
| X-Api-Token required | string Default: 4ccb54f5-9885-408e-8bb7-fbc41bb27d44 |
{- "links": {
- "previous": null,
- "next": null,
- "self": "/tokens?page=1",
- "first": "/tokens?page=1",
- "last": "/tokens?page=1"
}, - "data": [
- {
- "type": "tokens",
- "id": "62a0fe15ace19",
- "attributes": {
- "origin": "PPC",
- "medium": "Google Search",
- "campaign": "Search",
- "audience": "_",
- "targeting": "Students",
- "type": "New Account",
- "pageType": "Ads",
- "externalEmailId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "fromOutsideSource": false,
- "giveawayId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "createdAt": "2022-01-01 12:00:00",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
], - "meta": {
- "total": 50,
- "count": 10,
- "perPage": 10,
- "currentPage": 1,
- "totalPages": 5
}
}| Accept required | string Default: application/json |
| Content-Type required | string Default: application/json |
| X-Api-Token required | string Default: 4ccb54f5-9885-408e-8bb7-fbc41bb27d44 |
| origin required | string |
| medium required | string |
| campaign required | string |
| audience required | string |
| targeting required | string |
| pageType required | string |
| type required | string |
| targetUrl required | string <url> |
| externalEmailId | string or null <uuid> |
| fromOutsideSource | boolean |
| giveawayId | string |
{- "origin": "PPC",
- "medium": "Google Search",
- "campaign": "Search",
- "audience": "_",
- "targeting": "Students",
- "pageType": "Ads",
- "type": "New Account",
- "externalEmailId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "fromOutsideSource": false,
- "giveawayId": "2e7ce7f6-1f5b-4011-84c6-9eb033e809d4"
}{- "data": {
- "type": "tokens",
- "id": "62a0fe15ace19",
- "attributes": {
- "origin": "PPC",
- "medium": "Google Search",
- "campaign": "Search",
- "audience": "_",
- "targeting": "Students",
- "type": "New Account",
- "pageType": "Ads",
- "externalEmailId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "fromOutsideSource": false,
- "giveawayId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "createdAt": "2022-01-01 12:00:00",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| Accept required | string Default: application/json |
| X-Api-Token required | string Default: 4ccb54f5-9885-408e-8bb7-fbc41bb27d44 |
{- "data": {
- "type": "tokens",
- "id": "62a0fe15ace19",
- "attributes": {
- "origin": "PPC",
- "medium": "Google Search",
- "campaign": "Search",
- "audience": "_",
- "targeting": "Students",
- "type": "New Account",
- "pageType": "Ads",
- "externalEmailId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "fromOutsideSource": false,
- "giveawayId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "createdAt": "2022-01-01 12:00:00",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| Accept required | string Default: application/json |
| Content-Type required | string Default: application/json |
| X-Api-Token required | string Default: 4ccb54f5-9885-408e-8bb7-fbc41bb27d44 |
| origin | string |
| medium | string |
| audience | string |
| campaign | string |
| targeting | string |
| type | string |
| pageType | string |
| targetUrl | string <url> |
| externalEmailId | string <uuid> |
| fromOutsideSource | boolean |
| giveawayId | string |
{- "origin": "PPC",
- "medium": "Google Search",
- "audience": "_",
- "campaign": "Search",
- "targeting": "Students",
- "type": "New Account",
- "pageType": "Ads",
- "externalEmailId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "fromOutsideSource": false,
- "giveawayId": "2e7ce7f6-1f5b-4011-84c6-9eb033e809d4"
}{- "data": {
- "type": "tokens",
- "id": "62a0fe15ace19",
- "attributes": {
- "origin": "PPC",
- "medium": "Google Search",
- "campaign": "Search",
- "audience": "_",
- "targeting": "Students",
- "type": "New Account",
- "pageType": "Ads",
- "externalEmailId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "fromOutsideSource": false,
- "giveawayId": "fe0d9fc0-9975-332e-b638-853a323b6c6f",
- "createdAt": "2022-01-01 12:00:00",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| Accept required | string Default: application/json |
| Content-Type required | string Default: application/json |
| X-Api-Token required | string Default: 4ccb54f5-9885-408e-8bb7-fbc41bb27d44 |
{- "errors": [
- {
- "status": 404,
- "title": "Not Found",
- "detail": "The requested resource was not found."
}
]
}