addIntegrators
You can use this method to assign an endpoint as an integrator for a specific integration.
Parameters
Parameter | Description | Included in request | Type | Values |
|---|---|---|---|---|
| The ID of the integration you want to assign the endpoint as an integrator for. | Mandatory | Array of objects | No additional requirements. |
| The ID of the endpoints you want to set as integrators. | Mandatory | Array of strings | The endpoint must belong to the same company where the integration is configured. |
Return value
Attribute | Type | Description |
|---|---|---|
| Object | Contains the result of the request. |
result
Attribute | Type | Description |
|---|---|---|
| Boolean | Indicates if the request was successful. |
Example
Request:
{
"method": "addIntegrators",
"id": "b97f6bb5-cde4-44cc-aa61-4a3791a3b223",
"jsonrpc": "2.0",
"params": {
"integrationId": "67fcfc578e750f6ea70a8ab2",
"targetIds": [
"67fcfc57f021e56c3b9a0ee2"
]
}
}Response:
{
"id": "b97f6bb5-cde4-44cc-aa61-4a3791a3b223",
"jsonrpc": "2.0",
"result": {
"success": true
}
}