Skip to main content
GET
Returns actions, newest first.
Actions must be enabled for your workspace. Contact Xenia to enable it. Until then, every Actions endpoint returns 403 with “Actions are not enabled for this workspace.”

Permissions

The key acts as its default user, or the user in the x-client-user header (who must be in the workspace). That user’s location access and role permissions apply.
  • The user sees actions at the stores they have access to, plus any action assigned to them
  • Without Can View Actions on the user’s role, the list only returns actions assigned to the user

Path parameters

string<uuid>
required
UUID of the workspace. Must be the workspace your API key is bound to.

Query parameters

All optional, combined with AND.
string<uuid>
Only actions at this location.
string
open or done.
boolean
true to return only actions created by the key’s user.
boolean
true to return only actions assigned to the key’s user, directly or through their team, role, or location.
integer
default:"50"
1 to 200.
string
The nextCursor from the previous page.

Pagination

Pass the previous page’s nextCursor as cursor to get the next page. nextCursor is null on the last page.

Response

Returns 200 with { "data": { "actions": [<action>, …], "nextCursor": "<string>" | null } }. Each action has the same shape as the Create Action response.

Errors

Errors return the message at error.message.