Fetch the actions you triggered
Track and monitor the status of your actions by retrieving event logs and updates. Get detailed insights into request processing and completion.
Free
This endpoint lets you retrieve your most recent actions requests.
Query parameters
fullboolean (optional)
Whether to fetch the full action details.
false
idsarray (optional)
The IDs of the actions to fetch.
[1,2]
listIdnumber (optional)
The ID of the list to fetch actions for.
1
pagenumber (optional)
The page to fetch (default to 1).
1
sizenumber (optional)
The number of actions to be returned (between 1 and 25). Default to 10.
10
statusstring (optional)
The status of the actions to retrieve.
Possible values
pending
completed
active
failed
Response
actionsarray
The list of actions.
metaobject
The metas information.
Endpoint
GET
https://api.thecompaniesapi.com/v2/actions
API response
{actions :[{cost :10,createdAt : "2024-08-23T17:02:47.296+02:00" ,data :{…},id :42,status : "pending" ,type : "jobs:request" ,updatedAt : "2024-08-23T17:02:47.296+02:00" ,},{cost :10,createdAt : "2024-08-23T17:02:40.000+02:00" ,data :{…},id :40,status : "completed" ,type : "jobs:request" ,updatedAt : "2024-08-23T17:02:40.000+02:00" ,},],meta :{currentPage :1,firstPage :1,lastPage :1,perPage :10,total :2,},}