Skip to main content
GET
/
users
/
{userId}
/
merchant-action-triggers
Get user-level trigger status
curl --request GET \
  --url https://east.sandbox.spade.com/users/{userId}/merchant-action-triggers \
  --header 'X-Api-Key: <api-key>'
{
  "status": "pending",
  "version": 123
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

userId
string
required

Your unique identifier for the user

Response

Successful operation

Response containing the status of an action trigger registration.

status
enum<string>

The current status of the action trigger registration.

  • pending: Registration received, processing not yet started
  • running: Registration is being processed (for batch registrations with >100 triggers)
  • succeeded: Registration complete, triggers are now active
  • failed: Registration failed, check your request and retry
  • deleted: Trigger scope has been cleared via DELETE
Available options:
pending,
running,
succeeded,
failed,
deleted
Example:

"succeeded"

version
integer

The version number of this registration. Increments with each PUT or DELETE request to this scope.

Example:

1