Sendry Docs
API Reference

Organizations

Read and update the organization associated with the current API key or session.

Every API key and dashboard session belongs to an organization. These endpoints operate on the organization resolved from the request credentials; no organization ID is passed in the path.


Get current organization

GET /v1/organizations/me

Requires read_only scope.

Response

{
  "id": "org_abc123",
  "name": "Acme Inc",
  "plan": "pro",
  "createdAt": "2025-03-01T08:15:00Z"
}

plan is one of free, pro, business, or enterprise.


Update current organization

PATCH /v1/organizations/me

Requires read_only scope. Any authenticated key is accepted.

Request body

FieldTypeRequiredDescription
namestringYesNew organization name (min 1 char).
{
  "name": "Acme Corp"
}

Response

{
  "id": "org_abc123",
  "name": "Acme Corp",
  "plan": "pro"
}

On this page