Save preferences that follow the authenticated user across workspaces
curl --request PATCH \
--url https://app.communicate.so/api/v1/account/preferences \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://app.communicate.so/api/v1/account/preferences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.communicate.so/api/v1/account/preferences"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"inboxView": "chat"
}Account preferences
Save preferences that follow the authenticated user across workspaces
Use a user-bound ca_ bearer credential with the stated account scope, or an application session. Workspace ck_ keys and their OAuth tokens do not grant account authority.
PATCH
/
account
/
preferences
Save preferences that follow the authenticated user across workspaces
curl --request PATCH \
--url https://app.communicate.so/api/v1/account/preferences \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://app.communicate.so/api/v1/account/preferences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.communicate.so/api/v1/account/preferences"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"inboxView": "chat"
}Authorizations
accountBeareraccountSessionlocalAccountSession
Opaque user-bound ca_ account credential. Each request checks live account scopes, verified email, expiry, revocation and the issuer session. Not a workspace ck_ key or OAuth access token.
Body
application/json
Available options:
chat, ticket Response
Save preferences that follow the authenticated user across workspaces
Available options:
chat, ticket