Create a new integration for a tenant
Learn more about the Segmentation Api to create new integrations for a tenant.
This API enables you to create a new integration for downstream applications in your tenant.
Request
POST /api/[env]/[tenant]/integrations
Parameter | Required | Description | |
---|---|---|---|
Headers | Authorization
| Yes | Information about authentication access token in the format "Bearer <accessToken> ". For more information, see Authentication API. |
Request body
Parameter | Type | Description |
---|---|---|
accountId | String | UUID of the account |
integrationName | String | The integration name, to be shown in the UI. |
syncEndpoint | String | The RIH endpoint address to be called. |
Response
Parameter | Type | Description |
---|---|---|
success | boolean | True for success response |
error | Error | Error object for details |
result | Integration | Integration object |
result.id | String | UUID of integration |
result.accountId | String | UUID of account |
result.integrationName | String | The name of the integration, to be shown in the UI. |
result.syncEndpoint | String | The endpoint address for the sync. |