MCP is live.Set upAsk the community
OmniDimension
Api referenceGeneratedIntegrations

Attach an integration to an agent

Attach one of your integrations to the agent. The agent can use it on its next call. Integrations already attached stay as they are.

POST/agents//integrations
Path parameters
agent_idrequired
Body
2 fields
·

Reseller keys only: act as one of your clients by its user id. Omit it to act on your own account. [How acting for a client works](/docs/reseller/your-clients/acting-as-clients).

The integration's id, from listIntegrations or a create response.

curl -X POST 'https://omnidim.io/api/v1/agents/{agent_id}/integrations' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "user_id": 1234
}'
Example response
synthetic
{
  "success": false,
  "message": "string"
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Path Parameters

agent_id*integer

The ID of the agent.

Request Body

application/json
user_id?ClientUserId

Reseller keys only: act as one of your clients by its user id. Omit it to act on your own account. How acting for a client works.

integration_id*integer

The integration's id, from listIntegrations or a create response.

Response body

application/json

Response Body

The integration was attached.

application/json
success?boolean
message?string