Tasks
Endpoints for retrieving tasks assigned to your partner account, including compliance violations.
Returns a list of existing, non-archived tasks assigned to your partner account.
Use your AccountSID as the username and AuthToken as the password.
Unique identifier for the partner account.
Filter tasks by one or more comma-separated task types. For compliance violations, use COMPLIANCE. Values match the Type field in the Task response.
COMPLIANCEFilter tasks by one or more comma-separated subtype names. Requires the Type parameter. For compliance violations, common values are Search, Promo, Social, and Content. Passing an unrecognized subtype returns a validation error.
ContentOnly return tasks created on or after this date (ISO 8601).
Only return tasks created on or before this date (ISO 8601).
Only return tasks updated before this date (ISO 8601).
Only return tasks updated after this date (ISO 8601).
A list of task objects.
curl -L \
--url 'https://api.impact.com/Mediapartners/{AccountSID}/Tasks' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'A list of task objects.
{
"Tasks": [
{
"Id": "3562529",
"Reference": {
"PartnerId": 2552842,
"PartnerValue1": "vip",
"PartnerValue2": "north-america",
"PartnerValue3": "tennis"
},
"Details": {
"Summary": "Acme Rewards Card Update",
"Description": "The Acme Rewards Card APR has changed, please update your ads to reflect this new value.",
"Urgent": true,
"State": "INPROGRESS",
"Type": "COMPLIANCE",
"SubtypeId": "275",
"SubtypeName": "Content",
"ResolutionId": "",
"ResolutionName": ""
},
"Attachments": [
{
"Id": "task_1223456_988957a0-e0ed-4f16-984b-f5a9259e6be7",
"Filename": "acme_reward_card_details.pdf",
"Location": "https://cdn.example.com/task_123456_988957a0-e0ed-4f16-984b-f5a9259e6be7.pdf"
}
],
"DueDate": "2021-08-31T04:00:00.000+0000",
"AssigneeUser": {
"Username": "Wile E. Coyote",
"EmailAddress": "wilecoyote@example.com"
},
"AssigneeAccount": "Acme Partners",
"TotalActions": 0,
"Actions": [],
"TotalComments": 1,
"Comments": [
{
"Id": 98765,
"Comment": "I've updated our home page with the latest ads, see attached screenshot.",
"Commenter": "Wile E. Coyote",
"Attachments": [
{
"Id": "task_1223456_988957a0-e0ed-4f16-984b-f5a9259e6be7",
"Filename": "acme_reward_card_details.pdf",
"Location": "https://cdn.example.com/task_123456_988957a0-e0ed-4f16-984b-f5a9259e6be7.pdf"
}
]
}
],
"DateCreated": "2021-08-18T16:47:21.000+0000",
"DateLastUpdated": "2021-08-18T22:45:42.000+0000",
"CreatedBy": {
"Username": "Wile E. Coyote",
"EmailAddress": "wilecoyote@example.com"
},
"LastUpdatedBy": {
"Username": "Wile E. Coyote",
"EmailAddress": "wilecoyote@example.com"
}
}
]
}Retrieves the details of an existing task assigned to your partner account by its unique ID.
Use your AccountSID as the username and AuthToken as the password.
Unique identifier for the partner account.
The unique identifier for the task.
A single task object.
3562529Date and time at which the task is due. Displayed in ISO 8601 format.
2021-08-31T04:00:00.000+0000Name of the partner account that the task is assigned to.
Acme PartnersTotal number of actions that have been recorded for this task.
0Total number of comments that have been recorded for this task.
1The date and time the task was created.
2021-08-18T16:47:21.000+0000The date and time the task was last updated.
2021-08-18T22:45:42.000+0000curl -L \
--url 'https://api.impact.com/Mediapartners/{AccountSID}/Tasks/{TaskId}' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'A single task object.
{
"Id": "3562529",
"Reference": {
"PartnerId": 2552842,
"PartnerValue1": "vip",
"PartnerValue2": "north-america",
"PartnerValue3": "tennis"
},
"Details": {
"Summary": "Acme Rewards Card Update",
"Description": "The Acme Rewards Card APR has changed, please update your ads to reflect this new value.",
"Urgent": true,
"State": "INPROGRESS",
"Type": "COMPLIANCE",
"SubtypeId": "275",
"SubtypeName": "Content",
"ResolutionId": "",
"ResolutionName": ""
},
"Attachments": [
{
"Id": "task_1223456_988957a0-e0ed-4f16-984b-f5a9259e6be7",
"Filename": "acme_reward_card_details.pdf",
"Location": "https://cdn.example.com/task_123456_988957a0-e0ed-4f16-984b-f5a9259e6be7.pdf"
}
],
"DueDate": "2021-08-31T04:00:00.000+0000",
"AssigneeUser": {
"Username": "Wile E. Coyote",
"EmailAddress": "wilecoyote@example.com"
},
"AssigneeAccount": "Acme Partners",
"TotalActions": 0,
"Actions": [],
"TotalComments": 1,
"Comments": [
{
"Id": 98765,
"Comment": "I've updated our home page with the latest ads, see attached screenshot.",
"Commenter": "Wile E. Coyote",
"Attachments": [
{
"Id": "task_1223456_988957a0-e0ed-4f16-984b-f5a9259e6be7",
"Filename": "acme_reward_card_details.pdf",
"Location": "https://cdn.example.com/task_123456_988957a0-e0ed-4f16-984b-f5a9259e6be7.pdf"
}
]
}
],
"DateCreated": "2021-08-18T16:47:21.000+0000",
"DateLastUpdated": "2021-08-18T22:45:42.000+0000",
"CreatedBy": {
"Username": "Wile E. Coyote",
"EmailAddress": "wilecoyote@example.com"
},
"LastUpdatedBy": {
"Username": "Wile E. Coyote",
"EmailAddress": "wilecoyote@example.com"
}
}Last updated
