Sandbox API
10 operations. Back to the API overview. Examples use synthetic data.
Get sandbox
GET /admin/v1/sandbox
Needs the permissions: config:write, metrics:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
watch | query | string | optional | - |
Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/sandbox"Handles one state change
POST /admin/v1/sandbox
Handles one state change: create, reset, pause, resume, remove, dismiss and the tour's completion. A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Needs the permission: config:write.
Request body
{}Response 200
{}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/sandbox"Handles one state change
DELETE /admin/v1/sandbox
Handles one state change: create, reset, pause, resume, remove, dismiss and the tour's completion. A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Needs the permission: config:write.
Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request DELETE \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/sandbox"Handles one state change
POST /admin/v1/sandbox/dismiss
Handles one state change: create, reset, pause, resume, remove, dismiss and the tour's completion. A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Needs the permission: config:write.
Request body
{}Response 200
{}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/sandbox/dismiss"Shows a sandbox message's before and after
GET /admin/v1/sandbox/messages/{id}
Shows a sandbox message's before and after: what the simulated sender sent and what the receiving system got, with the conversion's warnings as findings Explain can explain. Synthetic content only: a transaction that is not a simulated system's is refused, so this is never a way to read real messages (payload viewing stays its own audited grant).
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
{}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/sandbox/messages/example-id"Handles one state change
POST /admin/v1/sandbox/pause
Handles one state change: create, reset, pause, resume, remove, dismiss and the tour's completion. A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Needs the permission: config:write.
Request body
{}Response 200
{}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/sandbox/pause"Handles one state change
POST /admin/v1/sandbox/reset
Handles one state change: create, reset, pause, resume, remove, dismiss and the tour's completion. A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Needs the permission: config:write.
Request body
{}Response 200
{}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/sandbox/reset"Handles one state change
POST /admin/v1/sandbox/resume
Handles one state change: create, reset, pause, resume, remove, dismiss and the tour's completion. A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Needs the permission: config:write.
Request body
{}Response 200
{}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/sandbox/resume"Turns a sandbox route into a disabled real route template
POST /admin/v1/sandbox/routes/{name}/copy
Turns a sandbox route into a disabled real route template: a route with the same match whose destination is a test destination (it takes no part in live routing, so it is disabled) for the customer to point at their own system. Nothing synthetic is copied.
Needs the permission: config:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
name | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
disabled | any | optional | - |
intended | any | optional | - |
match | any | optional | - |
next | any | optional | - |
path | any | optional | - |
route | string | optional | - |
{
"disabled": {},
"intended": {},
"match": {},
"next": {},
"path": {},
"route": "example"
}Other responses
401Authentication required403Not permitted404Not Found500Internal Server Error503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/sandbox/routes/example-name/copy"Handles one state change
POST /admin/v1/sandbox/tour/complete
Handles one state change: create, reset, pause, resume, remove, dismiss and the tour's completion. A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Needs the permission: config:write.
Request body
{}Response 200
{}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/sandbox/tour/complete"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.