Actions
List Actions
List actions with optional filtering.
get/actions
Request
- Base URLhttps://api.upflow.io/v1
- AuthAPI key in header X-Api-Key and API key in header X-Api-Secret
Query parameters
offsetinteger
The 0-based index of the first item to return.
pageinteger
Example:1
The page number to retrieve (1-based). If both page and offset are provided, offset takes priority.
limitinteger
Example:100
Maximum number of items to return per page.
sortBy'createdAt' | 'updatedAt' | 'dueDate' | 'performedAt'
Sort actions by a specific column.
sortOrder'DESC' | 'ASC'
Sort order.
{
"updatedAt.gt": "2015-05-05T12:30:00Z",
"updatedAt.gte": "2015-05-05T12:30:00Z",
"updatedAt.lt": "2015-05-05T12:30:00Z",
"updatedAt.lte": "2015-05-05T12:30:00Z"
}{
"dueDate.gt": "2015-05-05T12:30:00Z",
"dueDate.gte": "2015-05-05T12:30:00Z",
"dueDate.lt": "2015-05-05T12:30:00Z",
"dueDate.lte": "2015-05-05T12:30:00Z"
}{
"performedAt.gt": "2015-05-05T12:30:00Z",
"performedAt.gte": "2015-05-05T12:30:00Z",
"performedAt.lt": "2015-05-05T12:30:00Z",
"performedAt.lte": "2015-05-05T12:30:00Z"
}state'TODO' | 'IGNORED' | 'EXECUTED' | 'IN_PROGRESS' | 'FAILED'
State of the action.
Filter actions by state.
source'WORKFLOW' | 'CAMPAIGN' | 'BILLING'
The source of the action.
Filter actions by source.
customerIdstring uuid
Example:00a70b35-2be3-4c43-aefb-397190134655
Filter actions by Customer ID.
carryingInvoiceIdstring uuid
Example:00a70b35-2be3-4c43-aefb-397190134655
Filter actions by carrying invoice ID.
assignedToUserIdstring uuid
Example:00a70b35-2be3-4c43-aefb-397190134655
Filter actions by assigned user ID.
performedByUserIdstring uuid
Example:00a70b35-2be3-4c43-aefb-397190134655
Filter actions by the user who performed the action.
Response
Paginated list of actions.
Example response
{
"page": 1,
"limit": 50,
"total": 100,
"items": [
{
"id": "00a70b35-2be3-4c43-aefb-397190134655",
"name": "1st reminder: payment not received",
"type": "EMAIL",
"customer": {
"id": "00a70b35-2be3-4c43-aefb-397190134655",
"externalId": "1a2c3b",
"companyName": "Upflow SAS",
"accountingRef": "UPFL-SAS"
},
"createdAt": "2015-05-05T12:30:00Z",
"dueDate": "2015-05-05T12:30:00Z",
"performedAt": "2015-05-05T12:30:00Z",
"dunningPlan": {
"id": "00a70b35-2be3-4c43-aefb-397190134655",
"name": "Standard dunning plan"
},
"performedBy": {
"id": "00a70b35-2be3-4c43-aefb-397190134655",
"firstName": "John",
"lastName": "Doe",
"email": "user@email.com"
},
"assignedTo": [
{
"id": "00a70b35-2be3-4c43-aefb-397190134655",
"firstName": "John",
"lastName": "Doe",
"email": "user@email.com"
}
],
"recipients": [
{
"type": "EMAIL",
"email": "recipient@company.com"
},
{
"type": "CONTACT",
"email": "contact@email.com",
"phone": "+12673148110"
}
],
"updatedAt": "2015-05-05T12:30:00Z",
"carryingInvoice": {
"id": "00a70b35-2be3-4c43-aefb-397190134655",
"externalId": "92842AB37",
"customId": "FAC123"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.