Portabase DashboardAPIOrganizations
Attach an agent to an organization
POST
apiKeyAuthheader
x-api-key<token>API key generated from the Portabase dashboard. Pass as the x-api-key header.
id*stringFormat
uuidapplication/json- body
agentId*stringFormat
uuidAgent attached to the organization
application/json- response
data*Example Request
curl -X POST 'https://portabase.example.com/api/v1/organizations/123e4567-e89b-12d3-a456-426614174000/agents' \ -H 'Content-Type: application/json' \ -d '{ "agentId": "bc309ecf-5f66-4057-93c5-6611cc9cb7b2"}'Example Response
{ "data": { "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "agentId": "bc309ecf-5f66-4057-93c5-6611cc9cb7b2" }}