Skip to main content
GET
Returns one action.
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 can get actions at the stores they have access to, plus any action assigned to them
  • Without Can View Actions on the user’s role, only actions assigned to the user
An action the user can’t see returns 404, the same as one that doesn’t exist.

Path parameters

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

Response

Returns 200 with { "data": <action> }. The action has the same shape as the Create Action response.

Errors

Errors return the message at error.message.