Skip to main content

Portal — Organization

Organization endpoints allow you to retrieve and update your organization's profile, regional configuration, and settings.

All portal endpoints require a JWT Bearer token. See Authentication for how to obtain one.

OrganizationResponse schema​

All organization endpoints return an OrganizationResponse object:

FieldTypeDescription
iduuidOrganization identifier
namestringDisplay name
slugstringURL-safe identifier
schemaNamestringInternal database schema name
contactEmailstring (nullable)Billing/contact email
defaultRegionstring (nullable)Default Object Storage region for uploads
allowedRegionsstring[]Permitted Object Storage regions
planTierstringCurrent plan tier
monthlyDocLimitintegerMonthly normalization quota
isActivebooleanWhether the organization is active
createdAtdatetimeCreation timestamp

Available regions: ca-central-1, us-east-2, eu-central-1


GET /api/portal/organization​

Retrieve the details of your organization.

Request​

GET https://api.pdfcanon.com/api/portal/organization
Authorization: Bearer <access_token>

Response (200 OK)​

Returns an OrganizationResponse object.

Example​

curl https://api.pdfcanon.com/api/portal/organization \
-H "Authorization: Bearer eyJ..."

PUT /api/portal/organization​

Update the organization's display name or slug.

Request​

PUT https://api.pdfcanon.com/api/portal/organization
Authorization: Bearer <access_token>
Content-Type: application/json
FieldTypeRequiredDescription
namestring✅New display name
slugstring✅New URL-safe slug

Response (200 OK)​

Returns the updated OrganizationResponse object.

Example​

curl -X PUT https://api.pdfcanon.com/api/portal/organization \
-H "Authorization: Bearer eyJ..." \
-H "Content-Type: application/json" \
-d '{"name": "Acme Corporation", "slug": "acme-corp"}'

PUT /api/portal/organization/settings​

Update organization settings including region configuration and billing contact.

Request​

PUT https://api.pdfcanon.com/api/portal/organization/settings
Authorization: Bearer <access_token>
Content-Type: application/json
FieldTypeRequiredDescription
contact_emailstring (nullable)NoBilling/contact email
default_regionstring (nullable)NoDefault Object Storage region. Must be in allowed_regions.
allowed_regionsstring[]NoPermitted Object Storage regions. Must contain at least one entry.

Response (200 OK)​

Returns the updated OrganizationResponse object.

Example​

curl -X PUT https://api.pdfcanon.com/api/portal/organization/settings \
-H "Authorization: Bearer eyJ..." \
-H "Content-Type: application/json" \
-d '{
"contact_email": "billing@acme.com",
"default_region": "eu-central-1",
"allowed_regions": ["eu-central-1", "ca-central-1"]
}'

POST /api/portal/organization/deactivate​

Deactivate your organization. This action is irreversible. All API keys will be revoked and normalization will be disabled.

danger

This action is permanent. Contact support if you deactivate by mistake.

Request​

POST https://api.pdfcanon.com/api/portal/organization/deactivate
Authorization: Bearer <access_token>

Response​

StatusDescription
200Organization deactivated
401Unauthorized

Example​

curl -X POST https://api.pdfcanon.com/api/portal/organization/deactivate \
-H "Authorization: Bearer eyJ..."