Account
14 routes. Paths are relative to https://api.intersink.com/v1.
- GET/users/me/consentMy current consent per kind (terms, privacy, marketing), the versions in force and what still needs accepting
- POST/users/me/consentRecord consent decisions (sign-up checkboxes, the marketing switch). Only changes are written.
- GET/users/me/consent/historyEvery consent decision on my account, newest first (paged, max 100)
- GET/users/me/data-requestsMy UK GDPR data requests (paged, max 50)
- POST/users/me/data-requestsRequest a copy of my data (export), erasure (delete) or a correction (rectify)
- GET/users/me/data-requests/{id}One of my data requests
- POST/users/me/data-requests/{id}/cancelCancel a pending data request
- GET/users/me/preferencesLanguage, timezone, UI switches, security alerts and recovery email
- PATCH/users/me/preferencesUpdate preferences (every field optional)
- GET/users/me/preferences/languagesLanguages that can be chosen in preferences
- POST/users/me/preferences/recovery-emailSet a recovery email; a 6-digit code is sent to it
- DELETE/users/me/preferences/recovery-emailRemove the recovery email
- POST/users/me/preferences/recovery-email/verifyConfirm the recovery email with the code
- GET/users/me/workspacePanel bootstrap: account, profile, my businesses (role + billing standing) and their channels with installed app keys
My current consent per kind (terms, privacy, marketing), the versions in force and what still needs accepting
GET/users/me/consent
Needs a signed-in user (Bearer token or access_token cookie).
Response
200. The payload in data is not described in the spec yet.
Record consent decisions (sign-up checkboxes, the marketing switch). Only changes are written.
POST/users/me/consent
Needs a signed-in user (Bearer token or access_token cookie).
Request body application/json
| Field | Type | Description |
|---|---|---|
| decisionsrequired | object[] | |
| decisions[].kindrequired | string | One of: "terms", "privacy", "marketing". |
| decisions[].grantedrequired | boolean | true = agree / opt in, false = opt out |
| decisions[].versionrequired | string | The document version the person was shown (GET /users/me/consent → versions). A different version is refused with 409. Example: "3.0" |
| source | string | signup only on a new account with no consent recorded yet; default settings One of: "signup", "settings". |
Response
200. The payload in data is not described in the spec yet.
Every consent decision on my account, newest first (paged, max 100)
GET/users/me/consent/history
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| kind | string, query | One of: "terms", "privacy", "marketing". |
| page | number, query | Minimum 1, maximum 1000. |
| limit | number, query | Minimum 1, maximum 100. |
Response
200. The payload in data is not described in the spec yet.
My UK GDPR data requests (paged, max 50)
GET/users/me/data-requests
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| status | string, query | One of: "pending", "in_progress", "completed", "rejected", "cancelled". |
| page | number, query | Minimum 1. |
| limit | number, query | Minimum 1. |
Response
200. The payload in data is not described in the spec yet.
Request a copy of my data (export), erasure (delete) or a correction (rectify)
POST/users/me/data-requests
Needs a signed-in user (Bearer token or access_token cookie).
Request body application/json
| Field | Type | Description |
|---|---|---|
| typerequired | string | One of: "export", "delete", "rectify", "restrict", "object", "question". |
| details | string | At most 2000 characters. |
| scope | string | One of: "account", "partial". |
Response
201. The payload in data is not described in the spec yet.
One of my data requests
GET/users/me/data-requests/{id}
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| idrequired | number, path |
Response
200. The payload in data is not described in the spec yet.
Cancel a pending data request
POST/users/me/data-requests/{id}/cancel
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| idrequired | number, path |
Response
200. The payload in data is not described in the spec yet.
Language, timezone, UI switches, security alerts and recovery email
GET/users/me/preferences
Needs a signed-in user (Bearer token or access_token cookie).
Response
200. The payload in data is not described in the spec yet.
Update preferences (every field optional)
PATCH/users/me/preferences
Needs a signed-in user (Bearer token or access_token cookie).
Request body application/json
| Field | Type | Description |
|---|---|---|
| language | number | language.id (null clears it) Minimum 1. |
| timezone | string | At most 64 characters. Example: "Europe/London" |
| security_alerts | object | |
| security_alerts.newdev | boolean | Sign-in from a new device |
| security_alerts.pw | boolean | Password / email changes |
| security_alerts.mfa | boolean | Two-factor changes |
| security_alerts.fail | boolean | Failed / blocked sign-ins |
| security_alerts.export | boolean | Data export requests |
| theme | string | One of: "light", "dark", "system". |
| call_quality | boolean | Share call-quality numbers (connection type, delay, jitter, loss, codec, duration) after a call. No addresses or content. Default on. |
| sound | boolean | |
| haptics | boolean | |
| push | boolean | |
| boolean | ||
| sms | boolean |
Response
200. The payload in data is not described in the spec yet.
Languages that can be chosen in preferences
GET/users/me/preferences/languages
Needs a signed-in user (Bearer token or access_token cookie).
Response
200. The payload in data is not described in the spec yet.
Set a recovery email; a 6-digit code is sent to it
POST/users/me/preferences/recovery-email
Needs a signed-in user (Bearer token or access_token cookie).
Request body application/json
| Field | Type | Description |
|---|---|---|
| emailrequired | string | At most 254 characters. Example: "[email protected]" |
Response
200. The payload in data is not described in the spec yet.
Remove the recovery email
DELETE/users/me/preferences/recovery-email
Needs a signed-in user (Bearer token or access_token cookie).
Response
200. The payload in data is not described in the spec yet.
Confirm the recovery email with the code
POST/users/me/preferences/recovery-email/verify
Needs a signed-in user (Bearer token or access_token cookie).
Request body application/json
| Field | Type | Description |
|---|---|---|
| coderequired | string | Example: "123456" |
Response
200. The payload in data is not described in the spec yet.
Panel bootstrap: account, profile, my businesses (role + billing standing) and their channels with installed app keys
GET/users/me/workspace
Needs a signed-in user (Bearer token or access_token cookie).
Response
200. The payload in data is not described in the spec yet.