Read the organization
Auth: Bearer key with no domain scope.
bearerAuthorizationBearer <token>An API key in the Authorization header.
include?stringComma-separated expansions to add: address_counts (addresses by status: active, expired and revoked, counted on read).
fields?stringComma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, name, slug, body_retention_days, body_retention_max_days, address_limit, address_daily_message_limit, suspended, created_at, updated_at, address_counts.
The key's own organization.
application/json- response
id?stringOpaque id, prefixed org_.
name?stringDisplay name.
slug?stringURL slug. Read-only here; it addresses dashboard screens.
body_retention_days?integerDays a message body stays readable before the worker shreds its key.
body_retention_max_days?integerThe install's ceiling on body_retention_days. Bodies stay readable for the smaller of the two.
address_limit?integerActive addresses the organization may hold. Set by an admin.
address_daily_message_limit?integerMessages one address may receive per UTC day. Set by an admin.
suspended?booleanTrue while the organization can't send. An admin releases it.
created_at?stringISO 8601 timestamp.
updated_at?stringISO 8601 timestamp.
address_counts?With include=address_counts. The organization's addresses by status, counted on read. active is what address_limit caps.
curl -X GET 'https://pouch.example.com/v1/organization'{ "id": "string", "name": "string", "slug": "string", "body_retention_days": 0, "body_retention_max_days": 0, "address_limit": 0, "address_daily_message_limit": 0, "suspended": true, "created_at": "string", "updated_at": "string", "address_counts": { "active": 0, "expired": 0, "revoked": 0 }}