Portabase Logo
Portabase DashboardAPIOrganizations

Attach an agent to an organization

POST
/organizations/{id}/agents

Authorization

apiKeyAuth
x-api-key<token>

API key generated from the Portabase dashboard. Pass as the x-api-key header.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/123e4567-e89b-12d3-a456-426614174000/agents" \  -H "Content-Type: application/json" \  -d '{    "agentId": "bc309ecf-5f66-4057-93c5-6611cc9cb7b2"  }'
{  "data": {    "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",    "agentId": "bc309ecf-5f66-4057-93c5-6611cc9cb7b2"  }}