Tenant API#
Read the tenant, its quotas and audit events, and manage cloud connections and webhooks. User invitation, role management and tenant deletion are not available to API integrations. See Manage connections.
All paths are relative to the base URL and need the authentication described in REST API. Each operation lists the Reply CMP permissions its caller must hold.
Tenant#
Get the tenant#
GET /onboarding/tenant/{id}
Permissions: Onboarding.Tenant/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
List advisor recommendations#
GET /onboarding/tenant/advisor
Permissions: Onboarding.Tenant/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
List tenant audit events#
GET /onboarding/tenant/events
Permissions: Onboarding.Tenant/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Quotas and rate limits#
Get the tenant quotas#
GET /onboarding/tenant/{tenantId}/quota
Permissions: Onboarding.Tenant/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Request a quota increase#
POST /onboarding/tenant/{tenantId}/quota/request-increase
Permissions: Onboarding.Tenant/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): QuotaIncreaseRequest
{
"entityType": "Connection",
"requestedLimit": 0,
"justification": "string"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The request is invalid. The body describes the validation errors. |
Get the tenant rate limits#
GET /onboarding/tenant/{tenantId}/quota/rate-limits
Returns the rate limits applied per caller: API requests per user and for the tenant service account, CMP Agent messages and AI report design turns.
Permissions: Onboarding.Tenant/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Cloud connections#
List cloud connections#
GET /onboarding/connection
Permissions: Onboarding.Connection/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Create a cloud connection#
POST /onboarding/connection
Permissions: Onboarding.Connection/Write
Request body (application/json, required): CreateConnectionRequestBody
{
"name": "string",
"tenantId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"properties": {},
"validateOnly": false,
"expirationDate": "2026-01-31T09:00:00Z",
"type": "Azure"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The request conflicts with the current state of the resource. |
Update the secret of a cloud connection#
PUT /onboarding/connection/{id}/secret
Replaces the stored secret and optionally sets or clears the connection’s future expirationDate (omit or pass null for no expiration).
Permissions: Onboarding.Connection/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): EditConnectionSecretRequest
{
"secret": "string",
"expirationDate": "2026-01-31T09:00:00Z"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Switch a cloud connection between read-only and read-write#
PUT /onboarding/connection/{id}/permissions
Refused with 409 while a deployment that uses the connection has an apply in progress.
Permissions: Onboarding.Connection/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): string
"string"
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Get a cloud connection#
GET /onboarding/connection/{id}
Permissions: Onboarding.Connection/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Delete a cloud connection#
DELETE /onboarding/connection/{id}
Permissions: Onboarding.Connection/Delete
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
List cloud connection audit events#
GET /onboarding/connection/events
Permissions: Onboarding.Connection/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Users#
Get a user#
GET /onboarding/user/{id}
Permissions: Onboarding.User/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
List users#
GET /onboarding/user
Permissions: Onboarding.User/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Roles and permissions#
Webhooks#
List webhooks#
GET /onboarding/notifications/webhooks
Permissions: Onboarding.Webhook/Read
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of WebhookIntegrationEntry |
Create a webhook#
POST /onboarding/notifications/webhooks
Permissions: Onboarding.Webhook/Write
Request body (application/json, required): CreateWebhookBody
{
"name": "string",
"url": "string",
"channelType": "Email",
"signingSecret": "string",
"properties": {
"key": "string"
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
Test a webhook URL#
POST /onboarding/notifications/webhooks/ping
Sends a test message to a URL before the webhook is saved.
Permissions: Onboarding.Webhook/Write
Request body (application/json, required): PingWebhookBody
{
"url": "string",
"channelType": "Email",
"signingSecret": "string",
"properties": {
"key": "string"
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
Get a webhook#
GET /onboarding/notifications/webhooks/{id}
Permissions: Onboarding.Webhook/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Update a webhook#
PUT /onboarding/notifications/webhooks/{id}
Permissions: Onboarding.Webhook/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): UpdateWebhookBody
{
"name": "string",
"url": "string",
"signingSecret": "string",
"isEnabled": false,
"properties": {
"key": "string"
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Delete a webhook#
DELETE /onboarding/notifications/webhooks/{id}
Permissions: Onboarding.Webhook/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Send a test message to a webhook#
POST /onboarding/notifications/webhooks/{id}/test
Permissions: Onboarding.Webhook/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Accepted; the work continues asynchronously. |
|
|
The resource does not exist in the tenant. |
List deliveries of a webhook#
GET /onboarding/notifications/webhooks/{id}/deliveries
Permissions: Onboarding.Webhook/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
integer (int32) |
No |
Default |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of WebhookDeliveryLogEntry |