Skip to main content
PATCH
Save the account's profile (contact name, contact e-mail, business document); the owner's alone. Answers the account as account.show does.

Authorizations

Authorization
string
header
required

An account token from Settings › Account API in the Tawked console: Authorization: Bearer tk_acct_…

Headers

Idempotency-Key
string

One per intended change (1 to 128 printable ASCII characters): a retry with the same key and the same request answers the stored 2xx with Idempotent-Replayed: true, for 24 hours. A 428 approval_required is never stored: send the approved request again with the same key or none. An answer that carried a secret shown once is never kept: its replay answers 409 idempotency_secret_not_replayable with the id of what it made.

Required string length: 1 - 128

Body

application/json
business_document_type
enum<string>
required
Available options:
commercial_registration,
freelance_certificate,
none
contact_name
string
required
Maximum string length: 160
business_document_number
string | null

Required unless business_document_type is none.

Maximum string length: 64
contact_email
string<email> | null
Maximum string length: 191

Response

Done.

data
object
required