Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Automations

List automations

get
/api/{tenantId}/admin/automations

Returns every automation, enabled or not, in declaration order. Unpaged.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired
Responses
200

Automations returned.

One automation.

idstring · min: 1Required

Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.

displayNamestring · nullableOptional

Label shown in the admin, up to 200 characters.

typestring · min: 1Required

Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.

isEnabledbooleanOptional

Whether it fires. A disabled automation is kept but does not run. Defaults to true.

Default: true
triggerone ofRequired

When the automation fires.

or
or
or
settingsobject · nullableOptional

Type-specific configuration, validated against type on write: undeclared keys, wrong types and unknown pass templates, themes or benefit templates give a 400. Omitted applies defaults.

actionsstring[]Optional

What it does to each matching pass: applyBenefitTemplate, updateData, changePassType, applyTheme, notify. Derived from settings; read-only.

tagsstring[]Optional

Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.

creationDateone ofOptional

Creation time in UTC, server-set. null if not created through this API. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
lastModificationDateone ofOptional

Last write through this API, in UTC, server-set. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
get/api/{tenantId}/admin/automations
GET /api/{tenantId}/admin/automations HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "id": "text",
    "displayName": null,
    "type": "text",
    "isEnabled": true,
    "trigger": {
      "scheduleExpression": "text",
      "type": "recurrence",
      "monitoringPeriod": {
        "mode": "untilStopped"
      }
    },
    "settings": null,
    "actions": [
      "text"
    ],
    "tags": [
      "text"
    ],
    "creationDate": "2026-01-01T00:00:00.000Z",
    "lastModificationDate": "2026-01-01T00:00:00.000Z"
  }
]

Create automation

post
/api/{tenantId}/admin/automations

The id is unique within the tenant and immutable. The automation is live at once; send isEnabled: false to stage it. Emits Automation:Created.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired
Body

One automation.

idstring · min: 1Required

Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.

displayNamestring · nullableOptional

Label shown in the admin, up to 200 characters.

typestring · min: 1Required

Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.

isEnabledbooleanOptional

Whether it fires. A disabled automation is kept but does not run. Defaults to true.

Default: true
triggerone ofRequired

When the automation fires.

or
or
or
settingsobject · nullableOptional

Type-specific configuration, validated against type on write: undeclared keys, wrong types and unknown pass templates, themes or benefit templates give a 400. Omitted applies defaults.

actionsstring[]Optional

What it does to each matching pass: applyBenefitTemplate, updateData, changePassType, applyTheme, notify. Derived from settings; read-only.

tagsstring[]Optional

Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.

creationDateone ofOptional

Creation time in UTC, server-set. null if not created through this API. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
lastModificationDateone ofOptional

Last write through this API, in UTC, server-set. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
Responses
201

Automation created.

One automation.

idstring · min: 1Required

Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.

displayNamestring · nullableOptional

Label shown in the admin, up to 200 characters.

typestring · min: 1Required

Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.

isEnabledbooleanOptional

Whether it fires. A disabled automation is kept but does not run. Defaults to true.

Default: true
triggerone ofRequired

When the automation fires.

or
or
or
settingsobject · nullableOptional

Type-specific configuration, validated against type on write: undeclared keys, wrong types and unknown pass templates, themes or benefit templates give a 400. Omitted applies defaults.

actionsstring[]Optional

What it does to each matching pass: applyBenefitTemplate, updateData, changePassType, applyTheme, notify. Derived from settings; read-only.

tagsstring[]Optional

Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.

creationDateone ofOptional

Creation time in UTC, server-set. null if not created through this API. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
lastModificationDateone ofOptional

Last write through this API, in UTC, server-set. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
post/api/{tenantId}/admin/automations
POST /api/{tenantId}/admin/automations HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 309

{
  "id": "text",
  "displayName": null,
  "type": "text",
  "isEnabled": true,
  "trigger": {
    "scheduleExpression": "text",
    "type": "recurrence",
    "monitoringPeriod": {
      "mode": "untilStopped"
    }
  },
  "settings": null,
  "actions": [
    "text"
  ],
  "tags": [
    "text"
  ],
  "creationDate": "2026-01-01T00:00:00.000Z",
  "lastModificationDate": "2026-01-01T00:00:00.000Z"
}
{
  "id": "text",
  "displayName": null,
  "type": "text",
  "isEnabled": true,
  "trigger": {
    "scheduleExpression": "text",
    "type": "recurrence",
    "monitoringPeriod": {
      "mode": "untilStopped"
    }
  },
  "settings": null,
  "actions": [
    "text"
  ],
  "tags": [
    "text"
  ],
  "creationDate": "2026-01-01T00:00:00.000Z",
  "lastModificationDate": "2026-01-01T00:00:00.000Z"
}

Get automation

get
/api/{tenantId}/admin/automations/{automationId}
Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
automationIdstringRequired

Automation id, case-sensitive.

tenantIdstringRequired
Responses
200

Automation returned.

One automation.

idstring · min: 1Required

Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.

displayNamestring · nullableOptional

Label shown in the admin, up to 200 characters.

typestring · min: 1Required

Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.

isEnabledbooleanOptional

Whether it fires. A disabled automation is kept but does not run. Defaults to true.

Default: true
triggerone ofRequired

When the automation fires.

or
or
or
settingsobject · nullableOptional

Type-specific configuration, validated against type on write: undeclared keys, wrong types and unknown pass templates, themes or benefit templates give a 400. Omitted applies defaults.

actionsstring[]Optional

What it does to each matching pass: applyBenefitTemplate, updateData, changePassType, applyTheme, notify. Derived from settings; read-only.

tagsstring[]Optional

Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.

creationDateone ofOptional

Creation time in UTC, server-set. null if not created through this API. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
lastModificationDateone ofOptional

Last write through this API, in UTC, server-set. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
get/api/{tenantId}/admin/automations/{automationId}
GET /api/{tenantId}/admin/automations/{automationId} HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "id": "text",
  "displayName": null,
  "type": "text",
  "isEnabled": true,
  "trigger": {
    "scheduleExpression": "text",
    "type": "recurrence",
    "monitoringPeriod": {
      "mode": "untilStopped"
    }
  },
  "settings": null,
  "actions": [
    "text"
  ],
  "tags": [
    "text"
  ],
  "creationDate": "2026-01-01T00:00:00.000Z",
  "lastModificationDate": "2026-01-01T00:00:00.000Z"
}

Replace automation

put
/api/{tenantId}/admin/automations/{automationId}

Full replace, not a merge. The route id wins over the body id. To disable, send isEnabled: false. Time-sensitive rules (future runAt, 5-minute cron floor, displayName length) apply only to changed values, so a body read with GET can be sent back.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
automationIdstringRequired

Automation id, case-sensitive.

tenantIdstringRequired
Body

One automation.

idstring · min: 1Required

Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.

displayNamestring · nullableOptional

Label shown in the admin, up to 200 characters.

typestring · min: 1Required

Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.

isEnabledbooleanOptional

Whether it fires. A disabled automation is kept but does not run. Defaults to true.

Default: true
triggerone ofRequired

When the automation fires.

or
or
or
settingsobject · nullableOptional

Type-specific configuration, validated against type on write: undeclared keys, wrong types and unknown pass templates, themes or benefit templates give a 400. Omitted applies defaults.

actionsstring[]Optional

What it does to each matching pass: applyBenefitTemplate, updateData, changePassType, applyTheme, notify. Derived from settings; read-only.

tagsstring[]Optional

Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.

creationDateone ofOptional

Creation time in UTC, server-set. null if not created through this API. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
lastModificationDateone ofOptional

Last write through this API, in UTC, server-set. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
Responses
200

Automation updated.

One automation.

idstring · min: 1Required

Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.

displayNamestring · nullableOptional

Label shown in the admin, up to 200 characters.

typestring · min: 1Required

Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.

isEnabledbooleanOptional

Whether it fires. A disabled automation is kept but does not run. Defaults to true.

Default: true
triggerone ofRequired

When the automation fires.

or
or
or
settingsobject · nullableOptional

Type-specific configuration, validated against type on write: undeclared keys, wrong types and unknown pass templates, themes or benefit templates give a 400. Omitted applies defaults.

actionsstring[]Optional

What it does to each matching pass: applyBenefitTemplate, updateData, changePassType, applyTheme, notify. Derived from settings; read-only.

tagsstring[]Optional

Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.

creationDateone ofOptional

Creation time in UTC, server-set. null if not created through this API. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
lastModificationDateone ofOptional

Last write through this API, in UTC, server-set. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings.

string · date-timeOptional
or
integer · int64Optional
put/api/{tenantId}/admin/automations/{automationId}
PUT /api/{tenantId}/admin/automations/{automationId} HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 309

{
  "id": "text",
  "displayName": null,
  "type": "text",
  "isEnabled": true,
  "trigger": {
    "scheduleExpression": "text",
    "type": "recurrence",
    "monitoringPeriod": {
      "mode": "untilStopped"
    }
  },
  "settings": null,
  "actions": [
    "text"
  ],
  "tags": [
    "text"
  ],
  "creationDate": "2026-01-01T00:00:00.000Z",
  "lastModificationDate": "2026-01-01T00:00:00.000Z"
}
{
  "id": "text",
  "displayName": null,
  "type": "text",
  "isEnabled": true,
  "trigger": {
    "scheduleExpression": "text",
    "type": "recurrence",
    "monitoringPeriod": {
      "mode": "untilStopped"
    }
  },
  "settings": null,
  "actions": [
    "text"
  ],
  "tags": [
    "text"
  ],
  "creationDate": "2026-01-01T00:00:00.000Z",
  "lastModificationDate": "2026-01-01T00:00:00.000Z"
}

Delete automation

delete
/api/{tenantId}/admin/automations/{automationId}

Stops it at once and deletes its pending per-pass runs. Execution history is kept. To pause instead, replace it with isEnabled: false. Emits Automation:Deleted.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
automationIdstringRequired

Automation id, case-sensitive.

tenantIdstringRequired
Responses
204

Automation deleted.

No content

delete/api/{tenantId}/admin/automations/{automationId}
DELETE /api/{tenantId}/admin/automations/{automationId} HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*

No content

List automation executions

get
/api/{tenantId}/admin/automations/{taskId}/executions

Runs of one automation over the last 90 days: occurrences, per-pass runs and backfills. A deleted automation keeps its history; an unknown id returns an empty list. Sort keys as on the all-automations list. Total count in the x-pagination-total header.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
taskIdstringRequired

Automation id, case-sensitive. A trailing * matches every id with that prefix.

tenantIdstringRequired
Query parameters
pageIndexinteger · int32Optional

Zero-based page index. Default 0.

Default: 0
pageSizeinteger · int32Optional

Page size, 1 to 200. Default 20.

Default: 20
Responses
200

Executions returned.

One delivery of an automation run; a postponed occurrence appears once per delivery.

or
or
get/api/{tenantId}/admin/automations/{taskId}/executions
GET /api/{tenantId}/admin/automations/{taskId}/executions HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "id": "text",
    "startDate": "2026-01-01T00:00:00.000Z",
    "retryIndex": 1,
    "success": null,
    "duration": null
  }
]

Get execution

get
/api/{tenantId}/admin/automations/{taskId}/executions/{executionId}

One delivery with its logs and outgoing calls. Searches the last 90 days.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
taskIdstringRequired

Automation id, case-sensitive; the execution must belong to it.

executionIdstringRequired

Execution id from the list endpoints.

tenantIdstringRequired
Responses
200

Execution returned.

An execution with its logs.

idstringRequired

Delivery id, used as executionId on the detail endpoint.

startDatestring · date-timeRequired

When the delivery started, in UTC.

retryIndexinteger · int32Required

Times the occurrence was postponed before this delivery; 0 on the first.

successboolean · nullableRequired

Whether it succeeded.

durationstring · nullableRequired

Run time, as [d.]hh:mm:ss[.fffffff].

get/api/{tenantId}/admin/automations/{taskId}/executions/{executionId}
GET /api/{tenantId}/admin/automations/{taskId}/executions/{executionId} HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "logs": [
    {
      "id": "text",
      "eventDate": "2026-01-01T00:00:00.000Z",
      "entryType": "text",
      "data": null
    }
  ],
  "id": "text",
  "startDate": "2026-01-01T00:00:00.000Z",
  "retryIndex": 1,
  "success": null,
  "duration": null
}

Reset automation

post
/api/{tenantId}/admin/automations/{taskId}/reset

Recomputes which passes still need handling; idempotent. A dateRelative automation discards its unfired per-pass runs and reschedules them in the background; fired runs are kept, so a pass is never acted on twice. A continuous fixedDate automation re-evaluates its audience in the background to pick up newly matching passes, discarding nothing. Other trigger types answer 409. Returns once the background run is started; follow it in the executions via correlationId.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
taskIdstringRequired

Automation id, case-sensitive.

tenantIdstringRequired
Responses
200

Reset accepted; the background run is started.

Outcome of a reset. The background run continues after the response.

taskIdstringRequired

Id of the automation that was reset.

triggerTypestringRequired

Trigger type: dateRelative or fixedDate.

actionstringRequired

reset-and-backfill-enqueued (dateRelative) or backfill-enqueued (continuous fixedDate).

rowsDeletedinteger · nullableOptional

Unfired per-pass runs discarded. null on a continuous fixedDate reset.

correlationIdstringRequired

Correlation id of the background run; its executions appear in the automation's executions.

post/api/{tenantId}/admin/automations/{taskId}/reset
POST /api/{tenantId}/admin/automations/{taskId}/reset HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "taskId": "text",
  "triggerType": "text",
  "action": "text",
  "rowsDeleted": null,
  "correlationId": "text"
}

List recent executions

get
/api/{tenantId}/admin/automations/executions

Runs of every automation over the last 90 days. Sortable by startDate, taskId, taskType, duration, retryIndex. Total count in the x-pagination-total header.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired
Query parameters
pageIndexinteger · int32Optional

Zero-based page index. Default 0.

Default: 0
pageSizeinteger · int32Optional

Page size, 1 to 200. Default 20.

Default: 20
Responses
200

Executions returned.

An execution with its automation.

idstringRequired

Delivery id, used as executionId on the detail endpoint.

startDatestring · date-timeRequired

When the delivery started, in UTC.

retryIndexinteger · int32Required

Times the occurrence was postponed before this delivery; 0 on the first.

successboolean · nullableRequired

Whether it succeeded.

durationstring · nullableRequired

Run time, as [d.]hh:mm:ss[.fffffff].

taskIdstringRequired

Owning automation id; may be a deleted automation.

taskTypestring · nullableRequired

Task type that ran, e.g. wallet.pushUpdates.

get/api/{tenantId}/admin/automations/executions
GET /api/{tenantId}/admin/automations/executions HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "id": "text",
    "startDate": "2026-01-01T00:00:00.000Z",
    "retryIndex": 1,
    "success": null,
    "duration": null
  }
]

Last updated