Update organization API keys and details
Updates org-level details (name/phoneNumber/address/logoUrl) and replaces the OrganizationCredentials document. Validates the new credentials are not already in use by another org, uploads logo to R2 if provided as data URL, and backfills missing DynamicProperties section.properties fields.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Organization ID whose details and credentials should be updated.
Replacement third-party API credentials (Anthropic, Sinch SMS/MMS) attached to the organization.
{
"anthropicApiKey": "sk-ant-api03-EXAMPLE-key-redacted",
"sinchServicePlanId": "srv-plan-example-123",
"sinchApiToken": "sinch-token-example-redacted",
"sinchMmsApiKey": "sinch-mms-key-example",
"sinchMmsServiceId": "sinch-mms-service-example"
}Updated organization display name.
Updated primary organization phone number in E.164 format.
Updated mailing/business address.
Optional logo image; accepts a data URI which the server uploads and stores.
Response
API keys updated