Automations
Returns every automation, enabled or not, in declaration order. Unpaged.
Automations returned.
One automation.
Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.
Label shown in the admin, up to 200 characters.
Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.
Whether it fires. A disabled automation is kept but does not run. Defaults to true.
trueWhen the automation fires.
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.
What it does to each matching pass: applyBenefitTemplate, updateData, changePassType,
applyTheme, notify. Derived from settings; read-only.
Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.
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.
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.
The caller is not authenticated.
The caller lacks the tenant.configuration.automation:read scope.
The tenant does not exist.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
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"
}
]The id is unique within the tenant and immutable. The automation is live at once; send isEnabled: false to stage it. Emits Automation:Created.
One automation.
Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.
Label shown in the admin, up to 200 characters.
Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.
Whether it fires. A disabled automation is kept but does not run. Defaults to true.
trueWhen the automation fires.
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.
What it does to each matching pass: applyBenefitTemplate, updateData, changePassType,
applyTheme, notify. Derived from settings; read-only.
Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.
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.
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.
Automation created.
One automation.
Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.
Label shown in the admin, up to 200 characters.
Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.
Whether it fires. A disabled automation is kept but does not run. Defaults to true.
trueWhen the automation fires.
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.
What it does to each matching pass: applyBenefitTemplate, updateData, changePassType,
applyTheme, notify. Derived from settings; read-only.
Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.
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.
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.
Missing body, invalid id, type, trigger or settings, or an undeclared property. The problem names the field.
The caller is not authenticated.
The caller lacks the tenant.configuration.automation:write scope.
The tenant does not exist.
Id already exists, or another automation write is in progress: retry.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
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"
}Automation id, case-sensitive.
Automation returned.
One automation.
Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.
Label shown in the admin, up to 200 characters.
Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.
Whether it fires. A disabled automation is kept but does not run. Defaults to true.
trueWhen the automation fires.
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.
What it does to each matching pass: applyBenefitTemplate, updateData, changePassType,
applyTheme, notify. Derived from settings; read-only.
Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.
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.
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.
The caller is not authenticated.
The caller lacks the tenant.configuration.automation:read scope.
No such automation, or the tenant does not exist.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
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"
}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.
Automation id, case-sensitive.
One automation.
Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.
Label shown in the admin, up to 200 characters.
Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.
Whether it fires. A disabled automation is kept but does not run. Defaults to true.
trueWhen the automation fires.
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.
What it does to each matching pass: applyBenefitTemplate, updateData, changePassType,
applyTheme, notify. Derived from settings; read-only.
Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.
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.
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.
Automation updated.
One automation.
Unique within the tenant, immutable. Letters, digits, _, -; up to 200 characters.
Label shown in the admin, up to 200 characters.
Task type, e.g. wallet.pushUpdates; must be available to the tenant. Decides the shape of settings.
Whether it fires. A disabled automation is kept but does not run. Defaults to true.
trueWhen the automation fires.
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.
What it does to each matching pass: applyBenefitTemplate, updateData, changePassType,
applyTheme, notify. Derived from settings; read-only.
Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped, case-insensitive duplicates kept once.
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.
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.
Missing body, invalid type, trigger or settings, or an undeclared property. The problem names the field.
The caller is not authenticated.
The caller lacks the tenant.configuration.automation:write scope.
No such automation, or the tenant does not exist.
Another automation write is in progress: retry.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
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"
}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.
Automation id, case-sensitive.
Automation deleted.
No content
The caller is not authenticated.
The caller lacks the tenant.configuration.automation:write scope.
No such automation, or the tenant does not exist.
Another automation write is in progress: retry.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
DELETE /api/{tenantId}/admin/automations/{automationId} HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
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.
Automation id, case-sensitive. A trailing * matches every id with that prefix.
Zero-based page index. Default 0.
0Page size, 1 to 200. Default 20.
20Executions returned.
One delivery of an automation run; a postponed occurrence appears once per delivery.
Invalid taskId or query parameter.
The caller is not authenticated.
The caller lacks the tenant.configuration.automation:read scope.
The tenant does not exist.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
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
}
]One delivery with its logs and outgoing calls. Searches the last 90 days.
Automation id, case-sensitive; the execution must belong to it.
Execution id from the list endpoints.
Execution returned.
An execution with its logs.
Delivery id, used as executionId on the detail endpoint.
When the delivery started, in UTC.
Times the occurrence was postponed before this delivery; 0 on the first.
Whether it succeeded.
Run time, as [d.]hh:mm:ss[.fffffff].
Invalid taskId or executionId.
The caller is not authenticated.
The caller lacks the tenant.configuration.automation:read scope.
No such execution in the last 90 days, or the tenant does not exist.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
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
}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.
Automation id, case-sensitive.
Reset accepted; the background run is started.
Outcome of a reset. The background run continues after the response.
Id of the automation that was reset.
Trigger type: dateRelative or fixedDate.
reset-and-backfill-enqueued (dateRelative) or backfill-enqueued (continuous fixedDate).
Unfired per-pass runs discarded. null on a continuous fixedDate reset.
Correlation id of the background run; its executions appear in the automation's executions.
Invalid taskId.
The caller is not authenticated.
The caller lacks the tenant.configuration.automation:write scope.
No such automation, or the tenant does not exist.
Reset unavailable for the trigger type.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
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"
}Runs of every automation over the last 90 days. Sortable by startDate, taskId, taskType, duration, retryIndex. Total count in the x-pagination-total header.
Zero-based page index. Default 0.
0Page size, 1 to 200. Default 20.
20Executions returned.
An execution with its automation.
Delivery id, used as executionId on the detail endpoint.
When the delivery started, in UTC.
Times the occurrence was postponed before this delivery; 0 on the first.
Whether it succeeded.
Run time, as [d.]hh:mm:ss[.fffffff].
Owning automation id; may be a deleted automation.
Task type that ran, e.g. wallet.pushUpdates.
Invalid query parameter.
The caller is not authenticated.
The caller lacks the tenant.configuration.automation:read scope.
The tenant does not exist.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
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

