Bulkreplay API
6 operations. Back to the API overview. Examples use synthetic data.
List replay jobs
GET /admin/v1/replay-jobs
Needs the permission: transactions:read.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
confirm_threshold | any | optional | - |
default_rate | any | optional | - |
jobs | any | optional | - |
max_messages | any | optional | - |
max_rate | any | optional | - |
{
"confirm_threshold": {},
"default_rate": {},
"jobs": {},
"max_messages": {},
"max_rate": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/replay-jobs"Create replay job
POST /admin/v1/replay-jobs
Needs the permission: dlq:retransmit.
Request body
{}Response 201
| Field | Type | Presence | Description |
|---|---|---|---|
billing | object (ReplayBillingJSON) | optional | replayBillingJSON is what the job bills, shown in the confirm step: a delivered replay is billed exactly as a delivered retransmission (one message out per destination it reaches; no message in). |
billing.max_messages_out | integer | optional | - |
billing.messages_in | integer | optional | - |
billing.metric | string | optional | - |
billing.note | string | optional | - |
canceled_by | string | optional | - |
completed_at | string (date-time) | optional | - |
config_version | integer | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
done | integer | optional | - |
error_code | string | optional | - |
error_message | string | optional | - |
id | string | optional | - |
items_total | integer | optional | - |
lanes_total | integer | optional | - |
mode | string | optional | - |
name | string | optional | - |
outcomes | map of integer | optional | - |
pending | integer | optional | - |
prepared_at | string (date-time) | optional | - |
rate | integer | optional | - |
reason | string | optional | - |
selection | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
target | string | optional | - |
{
"billing": {
"max_messages_out": 1,
"messages_in": 1,
"metric": "example",
"note": "example"
},
"canceled_by": "example",
"completed_at": "2026-01-15T14:30:00Z",
"config_version": 1,
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"done": 1,
"error_code": "Example text",
"error_message": "Example text",
"id": "example-id",
"items_total": 1,
"lanes_total": 1,
"mode": "example",
"name": "example-name",
"outcomes": {
"example": 1
},
"pending": 1,
"prepared_at": "2026-01-15T14:30:00Z",
"rate": 1,
"reason": "Example text",
"selection": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"target": "example"
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/replay-jobs"Get replay job
GET /admin/v1/replay-jobs/{id}
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
breakdown | any | optional | - |
confirm_required | any | optional | - |
confirm_threshold | any | optional | - |
job | object (ReplayJobJSON) | optional | - |
job.billing | object (ReplayBillingJSON) | optional | replayBillingJSON is what the job bills, shown in the confirm step: a delivered replay is billed exactly as a delivered retransmission (one message out per destination it reaches; no message in). |
job.canceled_by | string | optional | - |
job.completed_at | string (date-time) | optional | - |
job.config_version | integer | optional | - |
job.created_at | string (date-time) | optional | - |
job.created_by | string | optional | - |
job.done | integer | optional | - |
job.error_code | string | optional | - |
job.error_message | string | optional | - |
job.id | string | optional | - |
job.items_total | integer | optional | - |
job.lanes_total | integer | optional | - |
job.mode | string | optional | - |
job.name | string | optional | - |
job.outcomes | map of integer | optional | - |
job.pending | integer | optional | - |
job.prepared_at | string (date-time) | optional | - |
job.rate | integer | optional | - |
job.reason | string | optional | - |
job.selection | any | optional | - |
job.started_at | string (date-time) | optional | - |
job.started_by | string | optional | - |
job.status | string | optional | - |
job.target | string | optional | - |
sample | array of object (ReplayItemJSON) | optional | - |
sample.[]archived | boolean | optional | - |
sample.[]attempts | integer | optional | - |
sample.[]destinations | integer | optional | - |
sample.[]done_at | string (date-time) | optional | - |
sample.[]message_type | string | optional | - |
sample.[]outcome | string | optional | - |
sample.[]received_at | string (date-time) | optional | - |
sample.[]retransmission_id | integer | optional | - |
sample.[]retransmission_status | string | optional | - |
sample.[]route | string | optional | - |
sample.[]seq | integer | optional | - |
sample.[]status | string | optional | - |
sample.[]transaction_id | integer | optional | - |
stale | any | optional | - |
{
"breakdown": {},
"confirm_required": {},
"confirm_threshold": {},
"job": {
"billing": {
"max_messages_out": 1,
"messages_in": 1,
"metric": "example",
"note": "example"
},
"canceled_by": "example",
"completed_at": "2026-01-15T14:30:00Z",
"config_version": 1,
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"done": 1,
"error_code": "Example text",
"error_message": "Example text",
"id": "example-id",
"items_total": 1,
"lanes_total": 1,
"mode": "example",
"name": "example-name",
"outcomes": {
"example": 1
},
"pending": 1,
"prepared_at": "2026-01-15T14:30:00Z",
"rate": 1,
"reason": "Example text",
"selection": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"target": "example"
},
"sample": [
{
"archived": true,
"attempts": 1,
"destinations": 1,
"done_at": "2026-01-15T14:30:00Z",
"message_type": "Example text",
"outcome": "example",
"received_at": "2026-01-15T14:30:00Z",
"retransmission_id": 1,
"retransmission_status": "ok",
"route": "example",
"seq": 1,
"status": "ok",
"transaction_id": 1
}
],
"stale": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/replay-jobs/example-id"Cancel replay job
POST /admin/v1/replay-jobs/{id}/cancel
Needs the permission: dlq:retransmit.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
reason | string | optional | - |
{
"reason": "Example text"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
billing | object (ReplayBillingJSON) | optional | replayBillingJSON is what the job bills, shown in the confirm step: a delivered replay is billed exactly as a delivered retransmission (one message out per destination it reaches; no message in). |
billing.max_messages_out | integer | optional | - |
billing.messages_in | integer | optional | - |
billing.metric | string | optional | - |
billing.note | string | optional | - |
canceled_by | string | optional | - |
completed_at | string (date-time) | optional | - |
config_version | integer | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
done | integer | optional | - |
error_code | string | optional | - |
error_message | string | optional | - |
id | string | optional | - |
items_total | integer | optional | - |
lanes_total | integer | optional | - |
mode | string | optional | - |
name | string | optional | - |
outcomes | map of integer | optional | - |
pending | integer | optional | - |
prepared_at | string (date-time) | optional | - |
rate | integer | optional | - |
reason | string | optional | - |
selection | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
target | string | optional | - |
{
"billing": {
"max_messages_out": 1,
"messages_in": 1,
"metric": "example",
"note": "example"
},
"canceled_by": "example",
"completed_at": "2026-01-15T14:30:00Z",
"config_version": 1,
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"done": 1,
"error_code": "Example text",
"error_message": "Example text",
"id": "example-id",
"items_total": 1,
"lanes_total": 1,
"mode": "example",
"name": "example-name",
"outcomes": {
"example": 1
},
"pending": 1,
"prepared_at": "2026-01-15T14:30:00Z",
"rate": 1,
"reason": "Example text",
"selection": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"target": "example"
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"reason":"Example text"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/replay-jobs/example-id/cancel"Replay job items
GET /admin/v1/replay-jobs/{id}/items
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
after | query | string | optional | - |
limit | query | string | optional | - |
outcome | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
items | array of object (ReplayItemJSON) | optional | - |
items.[]archived | boolean | optional | - |
items.[]attempts | integer | optional | - |
items.[]destinations | integer | optional | - |
items.[]done_at | string (date-time) | optional | - |
items.[]message_type | string | optional | - |
items.[]outcome | string | optional | - |
items.[]received_at | string (date-time) | optional | - |
items.[]retransmission_id | integer | optional | - |
items.[]retransmission_status | string | optional | - |
items.[]route | string | optional | - |
items.[]seq | integer | optional | - |
items.[]status | string | optional | - |
items.[]transaction_id | integer | optional | - |
{
"items": [
{
"archived": true,
"attempts": 1,
"destinations": 1,
"done_at": "2026-01-15T14:30:00Z",
"message_type": "Example text",
"outcome": "example",
"received_at": "2026-01-15T14:30:00Z",
"retransmission_id": 1,
"retransmission_status": "ok",
"route": "example",
"seq": 1,
"status": "ok",
"transaction_id": 1
}
]
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/replay-jobs/example-id/items"Start replay job
POST /admin/v1/replay-jobs/{id}/start
Needs the permission: dlq:retransmit.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
confirm_count | integer | optional | - |
{
"confirm_count": 1
}Response 202
| Field | Type | Presence | Description |
|---|---|---|---|
billing | object (ReplayBillingJSON) | optional | replayBillingJSON is what the job bills, shown in the confirm step: a delivered replay is billed exactly as a delivered retransmission (one message out per destination it reaches; no message in). |
billing.max_messages_out | integer | optional | - |
billing.messages_in | integer | optional | - |
billing.metric | string | optional | - |
billing.note | string | optional | - |
canceled_by | string | optional | - |
completed_at | string (date-time) | optional | - |
config_version | integer | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
done | integer | optional | - |
error_code | string | optional | - |
error_message | string | optional | - |
id | string | optional | - |
items_total | integer | optional | - |
lanes_total | integer | optional | - |
mode | string | optional | - |
name | string | optional | - |
outcomes | map of integer | optional | - |
pending | integer | optional | - |
prepared_at | string (date-time) | optional | - |
rate | integer | optional | - |
reason | string | optional | - |
selection | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
target | string | optional | - |
{
"billing": {
"max_messages_out": 1,
"messages_in": 1,
"metric": "example",
"note": "example"
},
"canceled_by": "example",
"completed_at": "2026-01-15T14:30:00Z",
"config_version": 1,
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"done": 1,
"error_code": "Example text",
"error_message": "Example text",
"id": "example-id",
"items_total": 1,
"lanes_total": 1,
"mode": "example",
"name": "example-name",
"outcomes": {
"example": 1
},
"pending": 1,
"prepared_at": "2026-01-15T14:30:00Z",
"rate": 1,
"reason": "Example text",
"selection": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"target": "example"
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"confirm_count":1}' \
"https://YOUR-CONSOLE-HOST/admin/v1/replay-jobs/example-id/start"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.