Onboarding API
3 operations. Back to the API overview. Examples use synthetic data.
Get onboarding
GET /admin/v1/onboarding
Needs the permission: metrics:read.
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/onboarding"Creates the demo route (when missing) and sends the sample messages through it with the test panel's queue
POST /admin/v1/onboarding/sample
Creates the demo route (when missing) and sends the sample messages through it with the test panel's queue: tagged channel "test", never metered, never counted as real traffic.
Needs the permissions: config:write, dlq:retransmit.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
sender | query | string | optional | - |
type | query | string | optional | - |
type_path | query | string | optional | - |
Request body
{}Response 202
| Field | Type | Presence | Description |
|---|---|---|---|
queued | any | optional | - |
route | any | optional | - |
transaction_ids | any | optional | - |
types | array of string | optional | - |
{
"queued": {},
"route": {},
"transaction_ids": {},
"types": [
"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/onboarding/sample"Put onboarding step
PUT /admin/v1/onboarding/steps/{id}
Needs the permissions: config:write, senders:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
choice | string | optional | - |
status | string | optional | - |
version | integer | optional | - |
{
"choice": "example",
"status": "ok",
"version": 1
}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found500Internal Server Error503Unavailable (nothing was changed)
curl --request PUT \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"choice":"example","status":"ok","version":1}' \
"https://YOUR-CONSOLE-HOST/admin/v1/onboarding/steps/example-id"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.