Workspace and team
Upload the workspace logo
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Body
application/jsonfilenamestringfilename of the file being uploaded
Format: binary
namestringgeneral purpose name for multipart form value
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
customer_facing_namestring | nullrequiredThe name customers see for the workspace. Null when they see the workspace's own name.
deleted_atstring | nullrequiredWhen the workspace was moved to the trash. Null while it is not deleted.
Format: date-time
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
link_safetyobjectrequiredShow child attributesHide child attributes
allow_domainsstring[] | nullrequiredDomains whose links skip the warning; each covers the domain and every name under it. Empty when none.
block_domainsstring[] | nullrequiredDomains whose links cannot be clicked; each covers the domain and every name under it. Empty when none.
enabledbooleanrequiredTrue when links in messages are checked and warned about before opening.
strip_inbound_email_linksbooleanrequiredTrue when links in received email show as plain text until a teammate reveals them.
localestringrequiredThe workspace's language, such as en.
logo_urlstring | nullrequiredWeb address of the workspace's logo on this server. Null when it has none.
namestringrequiredThe workspace's name, 1 to 80 characters.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
onboardingobjectrequiredShow child attributesHide child attributes
completed_atstring | nullrequiredWhen the workspace finished setup. Null while setup is still under way.
Format: date-time
stepstringrequiredThe setup step the workspace is on: workspace, logo, channels, tags, team, knowledge, test_conversations or done.
purge_afterstring | nullrequiredWhen a deleted workspace is removed for good unless restored. Null while it is not deleted.
Format: date-time
require_two_factorbooleanrequiredTrue when every member must have a second sign-in factor to work in the workspace.
retentionobjectrequiredShow child attributesHide child attributes
changed_atstringWhen the retention periods were last changed; left out if they never were.
Format: date-time
closed_conversation_daysinteger | nullrequiredDays a closed conversation is kept; null when closed conversations are kept for ever.
Format: int64
export_daysintegerrequiredDays a data export is kept; 7 unless the workspace chose otherwise.
Format: int64
raw_email_daysintegerrequiredDays raw email is kept after it is read; 30 unless the workspace chose otherwise.
Format: int64
spam_daysintegerrequiredDays spam is kept; 30 unless the workspace chose otherwise.
Format: int64
trash_daysintegerrequiredDays the trash is kept; 30 unless the workspace chose otherwise.
Format: int64
seen_receipt_shows_namebooleanrequiredTrue when the customer's messenger names the teammate who read their message.
seen_receiptsbooleanrequiredTrue when the customer's messenger is told that the team read their message.
show_viewers_on_listbooleanrequiredTrue when inbox lists show who is viewing each conversation.
slugstringrequiredThe workspace's short name used in its web addresses.
team_mentions_enabledbooleanrequiredTrue when a note may mention a whole team.
test_modebooleanrequiredTrue when the workspace is a test-mode workspace. It is fixed and cannot be changed.
timezonestringrequiredThe workspace's time zone, as an IANA name such as UTC or Europe/Paris.
undo_send_secondsintegerrequiredHow many seconds a reply waits before it leaves, during which its writer can undo it. 5 unless the workspace changed it.
Format: int64
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.