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

id

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

GetTenantResponse

404

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

Filters

query

string

No

Filter expression, for example name@=prod. See Filtering, sorting and paging.

Sorts

query

string

No

Comma-separated sort fields; prefix a field with - for descending order.

Page

query

integer (int32)

No

Page number, starting at 1. Minimum 1.

PageSize

query

integer (int32)

No

Number of items per page, 25 by default and at most 100. Minimum 1.

Responses

Status

Description

Body

200

Success.

ListRecommendationsResponse

List tenant audit events#

GET /onboarding/tenant/events

Permissions: Onboarding.Tenant/Read

Parameters

Name

In

Type

Required

Description

Filters

query

string

No

Filter expression, for example name@=prod. See Filtering, sorting and paging.

Sorts

query

string

No

Comma-separated sort fields; prefix a field with - for descending order.

Page

query

integer (int32)

No

Page number, starting at 1. Minimum 1.

PageSize

query

integer (int32)

No

Number of items per page, 25 by default and at most 100. Minimum 1.

Responses

Status

Description

Body

200

Success.

ListTenantEventsResponse

Quotas and rate limits#

Get the tenant quotas#

GET /onboarding/tenant/{tenantId}/quota

Permissions: Onboarding.Tenant/Read

Parameters

Name

In

Type

Required

Description

tenantId

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

TenantQuotaInfo

404

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

tenantId

path

string (uuid)

Yes

Request body (application/json, required): QuotaIncreaseRequest

{
  "entityType": "Connection",
  "requestedLimit": 0,
  "justification": "string"
}

Responses

Status

Description

Body

204

Success, no content.

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

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

tenantId

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

TenantRateLimitsInfo

404

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

Filters

query

string

No

Filter expression, for example name@=prod. See Filtering, sorting and paging.

Sorts

query

string

No

Comma-separated sort fields; prefix a field with - for descending order.

Page

query

integer (int32)

No

Page number, starting at 1. Minimum 1.

PageSize

query

integer (int32)

No

Number of items per page, 25 by default and at most 100. Minimum 1.

Responses

Status

Description

Body

200

Success.

ListConnectionsResponse

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

201

Created.

GetConnectionResponse

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

409

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

id

path

string (uuid)

Yes

Request body (application/json, required): EditConnectionSecretRequest

{
  "secret": "string",
  "expirationDate": "2026-01-31T09:00:00Z"
}

Responses

Status

Description

Body

204

Success, no content.

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

404

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

id

path

string (uuid)

Yes

Request body (application/json, required): string

"string"

Responses

Status

Description

Body

204

Success, no content.

404

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

id

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

GetConnectionResponse

404

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

id

path

string (uuid)

Yes

Responses

Status

Description

Body

204

Success, no content.

404

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

Filters

query

string

No

Filter expression, for example name@=prod. See Filtering, sorting and paging.

Sorts

query

string

No

Comma-separated sort fields; prefix a field with - for descending order.

Page

query

integer (int32)

No

Page number, starting at 1. Minimum 1.

PageSize

query

integer (int32)

No

Number of items per page, 25 by default and at most 100. Minimum 1.

Responses

Status

Description

Body

200

Success.

ListConnectionsEvents

Users#

Get a user#

GET /onboarding/user/{id}

Permissions: Onboarding.User/Read

Parameters

Name

In

Type

Required

Description

id

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

GetUserResponse

404

The resource does not exist in the tenant.

List users#

GET /onboarding/user

Permissions: Onboarding.User/Read

Parameters

Name

In

Type

Required

Description

Filters

query

string

No

Filter expression, for example name@=prod. See Filtering, sorting and paging.

Sorts

query

string

No

Comma-separated sort fields; prefix a field with - for descending order.

Page

query

integer (int32)

No

Page number, starting at 1. Minimum 1.

PageSize

query

integer (int32)

No

Number of items per page, 25 by default and at most 100. Minimum 1.

Responses

Status

Description

Body

200

Success.

ListUsersResponse

Roles and permissions#

List role assignments#

GET /onboarding/authorization/assignments

Permissions: Onboarding.Authorization/Read

Parameters

Name

In

Type

Required

Description

Filters

query

string

No

Filter expression, for example name@=prod. See Filtering, sorting and paging.

Sorts

query

string

No

Comma-separated sort fields; prefix a field with - for descending order.

Page

query

integer (int32)

No

Page number, starting at 1. Minimum 1.

PageSize

query

integer (int32)

No

Number of items per page, 25 by default and at most 100. Minimum 1.

Responses

Status

Description

Body

200

Success.

ListAssignmentsResponse

List the permissions of a user#

GET /onboarding/authorization/permissions/{userId}

Permissions: Onboarding.Authorization/Read

Parameters

Name

In

Type

Required

Description

userId

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

array of string

404

The resource does not exist in the tenant.

List the permissions of the caller#

GET /onboarding/authorization/assignments/me/permissions

Returns the permissions granted to the caller, for example to check the roles assigned to the service account.

Permissions: API access only; no Reply CMP permission is required.

Responses

Status

Description

Body

200

Success.

ListMyPermissionsResponse

Webhooks#

List webhooks#

GET /onboarding/notifications/webhooks

Permissions: Onboarding.Webhook/Read

Responses

Status

Description

Body

200

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

201

Created.

WebhookIntegrationEntry

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

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

200

Success.

PingWebhookResult

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

Get a webhook#

GET /onboarding/notifications/webhooks/{id}

Permissions: Onboarding.Webhook/Read

Parameters

Name

In

Type

Required

Description

id

path

string (uuid)

Yes

Responses

Status

Description

Body

200

Success.

WebhookIntegrationEntry

404

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

id

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

200

Success.

WebhookIntegrationEntry

400

The request is invalid. The body describes the validation errors.

HttpValidationProblemDetails

404

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

id

path

string (uuid)

Yes

Responses

Status

Description

Body

204

Success, no content.

404

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

id

path

string (uuid)

Yes

Responses

Status

Description

Body

202

Accepted; the work continues asynchronously.

WebhookDeliveryLogEntry

404

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

id

path

string (uuid)

Yes

limit

query

integer (int32)

No

Default 0.

Responses

Status

Description

Body

200

Success.

array of WebhookDeliveryLogEntry