Skip to main content

Get Organization

Retrieve organization details by ID.

Example Request

GET /v1/organizations/{orgId}

Response

{
  "success": true,
  "data": {
    "orgId": "org-123",
    "name": "My Organization",
    "authToken": "auth-token-123",
    "webhookUrl": "https://example.com/webhook"
  }
}

Update Organization

Update organization details.

Example Request

PUT /v1/organizations/{orgId}
{
  "name": "Updated Org Name",
  "webhookUrl": "https://example.com/new-webhook"
}

Response

{
  "success": true,
  "data": {
    "orgId": "org-123",
    "name": "Updated Org Name",
    "authToken": "auth-token-123",
    "webhookUrl": "https://example.com/new-webhook"
  }
}