SDK reference

Health, identity and locations

Each route's function in the SDK, its call beside the same request in cURL.
me

GET/v1/me

The caller: the signed-in user (with organizations and roles), or the key (API or platform agent key) with its organization and scopes.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
locales

GET/v1/locales

The languages people can choose (locales: locale, label, spelling, weekStart), in order: English (Australia), the default, and English (US). Choose one with PATCH /v1/me/profile (locale).

Parameters and answers
curl 'https://api.cactive.com.au/v1/locales' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meOrgAccess

GET/v1/me/org-access

Your organizations whose Cactive One access has ended (never subscribed, cancelled or unpaid), with the reason for each ({ ended: { [orgId]: reason } }). Their apps answer 402 with code: "access_ended" until an administrator fixes billing.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/org-access' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
mePermissions

GET/v1/me/permissions

What the person may do in a space, app by app: space is personal or one of their organisations. Each app: whether they reach it, why not, their level (No access, View, Edit, Manage) and why, in words; in an organisation, also the apps it hides from everyone's app switcher (hidden, launcher keys), which they still reach.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/permissions' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
locations

GET/v1/locations

Active locations, for location pickers. Any authenticated caller.

Parameters and answers
curl 'https://api.cactive.com.au/v1/locations' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeControlsByControl

POST/v1/me/controls/:control

Applies what you chose in a setting's prompt after a 403 setting_required: fix change (the change the refusal described, worked out here) or once (Caity's own settings, for one request of hers: request, 15 minutes at most), with its scope and, for an app, app. Only you, signed in to one of the platform's apps; never a key, the phone assistant or a task. An organisation's settings and second checks aren't changed here. Audited.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/controls/{control}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "fix": "example",
    "scope": "example"
  }'
postMeAccessRequests

POST/v1/me/access-requests

Asks the organisation's owners and admins to change a control that blocks you (control, scope, optional app, subject and a note of up to 300 characters); they're notified and answer in Tenant. Answers 202 with the request.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/access-requests' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "control": "example",
    "scope": "example"
  }'
mePreferences

GET/v1/me/preferences

Your preferences, the same in every app and on every device: apps, the app switcher's order (order, tile keys such as cloud or mail:contacts) and the apps you hid (hidden), or null for the default switcher. People only.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/preferences' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMePreferences

PUT/v1/me/preferences

Saves your app switcher (apps: { order, hidden }, up to 100 keys each; apps added later appear at the end). apps: null restores the default. People only.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/preferences' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "apps": {
      "order": [
        "example"
      ],
      "hidden": [
        "example"
      ]
    }
  }'
mePreferencesWidgets

GET/v1/me/preferences/widgets

The phone's widgets: what the Dynamic Island and the Lock Screen show, ranked per surface; null until the person arranges them.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/preferences/widgets' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMePreferencesWidgets

PUT/v1/me/preferences/widgets

Saves the phone's widgets (at most 16 KB as JSON); every phone signed in to the account follows.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/preferences/widgets' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "widgets": {
      "v": 1,
      "items": [
        {
          "id": "<id>",
          "kind": "example",
          "config": {}
        }
      ],
      "island": {
        "enabled": true,
        "order": [
          "example"
        ]
      },
      "lockScreen": {
        "enabled": true,
        "order": [
          "example"
        ],
        "maxItems": 1
      }
    }
  }'
mePreferencesCalendar

GET/v1/me/preferences/calendar

Calendar's settings (week start, working hours, other time zones, new-event defaults, overlays, hidden calendars); null until changed.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/preferences/calendar' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMePreferencesCalendar

PUT/v1/me/preferences/calendar

Saves Calendar's settings; the answer is what was saved (cleaned). Every device and the phone follow.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/preferences/calendar' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "calendar": {}
  }'
mePreferencesLooks

GET/v1/me/preferences/looks

Your look per app (looks: app key to palette, density (comfortable, compact) and layout (inset, flush)); {} until you choose one. Light or dark is your theme. People only; assistants can read.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/preferences/looks' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMePreferencesLooksByApp

PUT/v1/me/preferences/looks/:app

Saves your look for one app (look; null goes back to the app's own). Each field wins over the app's look in every space. At most 64 apps (413). People only.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/preferences/looks/{app}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "look": {
      "palette": "example",
      "density": "comfortable",
      "layout": "inset"
    }
  }'
mePreferencesShell

GET/v1/me/preferences/shell

What an app's shell needs (?app=, and ?org= for one of your organisations): the org's launches (launches, such as force.release) and the look in force (look). Personal has no launches; 404 for an organisation you aren't in.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/preferences/shell?app=example' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
mePreferencesAppearance

GET/v1/me/preferences/appearance

The person's appearance in every app: theme, palette, density and sidebar; null until they choose one.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/preferences/appearance' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
patchMePreferencesAppearance

PATCH/v1/me/preferences/appearance

Changes it ({ appearance }: a field given replaces theirs, null clears it; null clears them all); the answer is what was saved. Every app, browser and the phone follow.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/preferences/appearance' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "appearance": {
      "theme": "light",
      "palette": "example",
      "density": "comfortable"
    }
  }'
mePreferencesFestive

GET/v1/me/preferences/festive

The festive theme chosen for a period's year; null until one is chosen.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/preferences/festive' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMePreferencesFestive

PUT/v1/me/preferences/festive

Saves it ({ instance, choice }: a theme id, off or on; null clears it); every app and the phone follow.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/preferences/festive' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "festive": {
      "instance": "example",
      "choice": "example"
    }
  }'
meAccountDevices

GET/v1/me/account/devices

Your phones and tablets with the apps signed in on each (and whether each gets push), browsers, and command-line machines; thisSession is the calling app's. Only you, in a phone app (a token with audience mobile); every change is audited in your organizations.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/devices' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAccountAccountChooser

GET/v1/me/account/account-chooser

Whether web apps' sign-ins ask which account to use (on); off by default, the account in use continues. Only you, in a phone app.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/account-chooser' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMeAccountAccountChooser

PUT/v1/me/account/account-chooser

Turns the account chooser on or off ({ "on": true }), as ID's Devices & sessions does. Only you, in a phone app.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/account/account-chooser' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "on": true
  }'
deleteMeAccountDevicesAppsBySessionId

DELETE/v1/me/account/devices/apps/:sessionId

Signs one app on a phone out: its tokens stop at once and it stops receiving push. thisPhone says whether it was the calling app's own sign-in.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/account/devices/apps/{sessionId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteMeAccountDevicesPhonesByInstallId

DELETE/v1/me/account/devices/phones/:installId

Signs every app on a phone out and removes its push registrations.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/account/devices/phones/{installId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteMeAccountDevicesBrowsersBySessionId

DELETE/v1/me/account/devices/browsers/:sessionId

Signs a browser out, with the app sign-ins started from it.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/account/devices/browsers/{sessionId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteMeAccountDevicesCliBySessionId

DELETE/v1/me/account/devices/cli/:sessionId

Signs a command-line machine out and revokes the git keys it made (keysRevoked).

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/account/devices/cli/{sessionId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAccountAge

GET/v1/me/account/age

Your date of birth (or null) and what it means for social features.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/age' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMeAccountAge

PUT/v1/me/account/age

Saves your date of birth (dateOfBirth, YYYY-MM-DD) once; after that only support corrects it (409).

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/account/age' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "dateOfBirth": "example"
  }'
meAccountOrgsByOrgId

GET/v1/me/account/orgs/:orgId

An organization you belong to: its members with their roles, and its groups with their people and whether you may change them (the organization's owners and admins, and the group's own owners).

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/orgs/{orgId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMeAccountOrgsGroupsMembersByUserId

PUT/v1/me/account/orgs/:orgId/groups/:teamId/members/:userId

Adds a member to a group or makes them an owner or member of it (role). The group's owners and the organization's owners and admins; what the group grants is checked too.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/account/orgs/{orgId}/groups/{teamId}/members/{userId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "role": "owner"
  }'
deleteMeAccountOrgsGroupsMembersByUserId

DELETE/v1/me/account/orgs/:orgId/groups/:teamId/members/:userId

Takes a member out of a group (the group's owners and the organization's owners and admins).

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/account/orgs/{orgId}/groups/{teamId}/members/{userId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAccountSignIns

GET/v1/me/account/sign-ins

The last 90 days of sign-ins and failed attempts, newest first: device, place, address, how, and whether the browser is still signed in.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/sign-ins' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAccountPermissions

GET/v1/me/account/permissions

Personal and each organisation: what the person can do in each app and why, and what Caity can do for them there.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/permissions' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAccountFirstRun

GET/v1/me/account/first-run

The account's first run as this phone app shows it (?app=, the app's id): due, its steps, the invites waiting, how the person signs in.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/first-run' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeAccountFirstRunStepsByStep

POST/v1/me/account/first-run/steps/:step

Continue (done) or Skip on one of the first run's steps.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/account/first-run/steps/{step}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "outcome": "done"
  }'
postMeAccountFirstRunLater

POST/v1/me/account/first-run/later

"Finish later": sign-ins stop showing the first run; Account offers to pick it up.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/account/first-run/later' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeAccountFirstRunDismiss

POST/v1/me/account/first-run/dismiss

Account's "Get Set Up" card: Not Now (the card goes; the run stays).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/account/first-run/dismiss' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeAccountFirstRunInvitesJoin

POST/v1/me/account/first-run/invites/:inviteId/join

Joins an organisation from an invite to the person's proved address (the Organisation step), audited in it.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/account/first-run/invites/{inviteId}/join' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeAccountJoin

POST/v1/me/account/join

Joins an organisation with a join code (code: as typed, or its link) at the code's role; the first run's Organisation step is then done. Every code that doesn't work gets the same answer; a person may try 10 an hour (429 after).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/account/join' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "code": "example"
  }'
meAccountDomainOffers

GET/v1/me/account/domain-offers

Organisations open to the person's proved address's verified domain.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/domain-offers' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeAccountDomainOffersJoin

POST/v1/me/account/domain-offers/:orgId/join

Joins one of them at its role, audited in it; the first run's Organisation step is then done.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/account/domain-offers/{orgId}/join' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeAccountDomainOffersDecline

POST/v1/me/account/domain-offers/:orgId/decline

No Thanks: the offer isn't made again.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/account/domain-offers/{orgId}/decline' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAccountConnectedApps

GET/v1/me/account/connected-apps

Apps you allowed to act for you (MCP clients, organizations' own apps), with their permissions and last use.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/connected-apps' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteMeAccountConnectedAppsByClientId

DELETE/v1/me/account/connected-apps/:clientId

Removes a connected app and its refresh tokens: it stops reaching your account at once.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/account/connected-apps/{clientId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAccountPasskeys

GET/v1/me/account/passkeys

Your passkeys: name, when added and last used. Never the public key.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/passkeys' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteMeAccountPasskeysByCredentialId

DELETE/v1/me/account/passkeys/:credentialId

Removes a passkey. 409 when it's your only way in (no password and no other passkey). Passkeys are added at ID.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/account/passkeys/{credentialId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAccountLinkedSignIns

GET/v1/me/account/linked-sign-ins

Your Apple and Google sign-ins: the address (or that it's hidden), when linked and last used, and lastWay, the one that's your only way in. Never the provider's account id.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/linked-sign-ins' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteMeAccountLinkedSignInsByProvider

DELETE/v1/me/account/linked-sign-ins/:provider

Unlinks apple or google. 409 when it's your only way in (no password, passkey or other link). Linking happens at ID.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/account/linked-sign-ins/{provider}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAccountPassword

GET/v1/me/account/password

Whether your account has a password (hasPassword).

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/password' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMeAccountPassword

PUT/v1/me/account/password

Sets a new password (12 to 256 characters); with one already set, current must be it (wrong ones count toward the sign-in lockout, 429 while locked); a first one needs a fresh step-up for account_credential (403 step_up otherwise; the app confirms at ID's /step-up/phone). Every other sign-in ends (signedOut); this app stays.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/account/password' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "password": "example"
  }'
meAccountPhones

GET/v1/me/account/phones

Your phone numbers (verified or not, primary, notifications on), the most you may add (max) and whether two-step sign-in by text is on.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/phones' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeAccountPhones

POST/v1/me/account/phones

Adds a number (number, optional label) and texts it a code; sent: false with a reason when the text couldn't go.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/account/phones' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "number": "example"
  }'
postMeAccountPhonesVerify

POST/v1/me/account/phones/verify

Verifies the number a code went to (code).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/account/phones/verify' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "code": "example"
  }'
postMeAccountPhonesResend

POST/v1/me/account/phones/:phoneId/resend

Texts a new code to an unverified number (once every 30 seconds, five an hour).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/account/phones/{phoneId}/resend' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteMeAccountPhonesByPhoneId

DELETE/v1/me/account/phones/:phoneId

Removes a number. Removing the last verified one turns two-step sign-in by text off.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/account/phones/{phoneId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMeAccountPhonesPrimary

PUT/v1/me/account/phones/:phoneId/primary

Makes a verified number the primary one: texts, calls and sign-in codes go to it.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/account/phones/{phoneId}/primary' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMeAccountPhonesNotifications

PUT/v1/me/account/phones/:phoneId/notifications

Whether a number gets notification texts and calls (on).

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/account/phones/{phoneId}/notifications' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "on": true
  }'
postMeAccountTwoStepCode

POST/v1/me/account/two-step/code

Texts a code to your primary number, to turn two-step sign-in by text on or off.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/account/two-step/code' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMeAccountTwoStep

PUT/v1/me/account/two-step

Turns two-step sign-in by text on or off (on) with the texted code.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/account/two-step' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "on": true,
    "code": "example"
  }'
meAccountAssistant

GET/v1/me/account/assistant

Caity by phone: your settings, whether a PIN is set and a number verified, and each organization with the permissions your role there lets the assistant hold (scopes, with their words) and its defaults.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/assistant' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMeAccountAssistant

PUT/v1/me/account/assistant

Saves Caity by phone: on or off, the organizations it acts in with their permissions (never more than your role allows), the default organization, texts and calls, the PIN for calls, transcripts, retention and the briefing time.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/account/assistant' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "enabled": true,
    "orgs": [
      {
        "orgId": "<orgId>",
        "scopes": [
          "example"
        ]
      }
    ],
    "sms": true,
    "voice": true,
    "pinForActions": true,
    "saveTranscripts": "brain",
    "retentionDays": 7
  }'
putMeAccountAssistantPin

PUT/v1/me/account/assistant/pin

Sets the PIN for calls (pin, confirm): 4 to 8 digits, not all the same or in a row.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/account/assistant/pin' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "pin": "example",
    "confirm": "example"
  }'
meAccountEncryptionKeys

GET/v1/me/account/encryption-keys

Your own encryption keys (Health, your Drive and Photos) with their use in the last 30 days. Metadata only, never material.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/encryption-keys' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAccountEncryptionKeysByKeyId

GET/v1/me/account/encryption-keys/:keyId

One of your keys: versions, use, and the last 50 events of what used it.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/encryption-keys/{keyId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meAccountPhotoTokens

GET/v1/me/account/photo-tokens

Photos' personal tokens (a Shortcut, Mac sync, MCP): name, scopes and last use. Never the token.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/account/photo-tokens' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteMeAccountPhotoTokensByTokenId

DELETE/v1/me/account/photo-tokens/:tokenId

Removes a Photos token: whatever uses it stops at once.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/account/photo-tokens/{tokenId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meProfile

GET/v1/me/profile

You: your profile (name, email, avatarUrl, bannerUrl, banner and accent colours, about (your About Me), effect, username, kind (personal, or org for an account made through an organization's invite) and usernameChangeAt (when it can change next, or null), locale (the language you chose, or null)), the language to use (locale: your choice, else en-US for a US Accept-Language, else en-AU), the languages you can choose (locales) and each organization with your scopes there and its launches (launches: releases such as force.release, on or off for you there), so native apps offer only the organizations an app can open. People only.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/profile' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
patchMeProfile

PATCH/v1/me/profile

Changes your profile, the one people see across the platform (Mirage's cards, members and messages; every app's account menu): name, about (About Me, Markdown as in Mirage), banner and accent (hex colours such as #5865f2) effect (a profile effect's id from GET /v1/me/profile/effects; choosing one needs a paid plan, Cactive One Pro or Max or a paid organisation seat, else 403) and locale (your language for dates, numbers and spelling in every app, email and text: one of GET /v1/locales, such as en-AU or en-US). null clears a field (not the name). Returns user and the fields that changed; name changes are recorded in your organizations' audit logs. People only, not assistants.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/profile' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "about": "example",
    "banner": "example"
  }'
postMeProfileAvatarUploads

POST/v1/me/profile/avatar/uploads

Where to upload a new avatar: give its type (PNG, JPEG, WebP or GIF) and size in bytes (up to 2 MB). PUT the image to url with headers within 15 minutes (exactly that type and size), then make it your avatar with PUT /v1/me/profile/avatar. People only.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/profile/avatar/uploads' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "image/png",
    "size": 1
  }'
putMeProfileAvatar

PUT/v1/me/profile/avatar

Makes an uploaded image (uploadId) your avatar once it's checked: there, up to 2 MB and really a PNG, JPEG, WebP or GIF, whatever it was uploaded as. Anything else is deleted (400 or 413). The previous image is deleted. Returns user with the new avatarUrl. People only.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/profile/avatar' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "uploadId": "<uploadId>"
  }'
deleteMeProfileAvatar

DELETE/v1/me/profile/avatar

Removes your avatar (people see your initials) and deletes the image. People only.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/profile/avatar' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeProfileBannerUploads

POST/v1/me/profile/banner/uploads

Where to upload a new banner image (cropped to 5:2, 1500 × 600, first): give its type (PNG, JPEG, WebP or GIF) and size in bytes (up to 4 MB). PUT the image to url with headers within 15 minutes, then make it your banner with PUT /v1/me/profile/banner. People only.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/profile/banner/uploads' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "image/png",
    "size": 1
  }'
putMeProfileBanner

PUT/v1/me/profile/banner

Makes an uploaded image (uploadId) your banner once it's checked: there, up to 4 MB and really a PNG, JPEG, WebP or GIF. Anything else is deleted (400 or 413). The previous image is deleted. Returns user with the new bannerUrl. People only.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/profile/banner' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "uploadId": "<uploadId>"
  }'
deleteMeProfileBanner

DELETE/v1/me/profile/banner

Removes your banner image (your banner colour shows) and deletes the image. People only.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/profile/banner' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meProfileEffects

GET/v1/me/profile/effects

The profile effects (effects: effectId, name, renderer, colors), in order. Choosing and showing one need a paid plan: GET /v1/me/profile says whether you have one (effectsIncluded) and which you chose (effectChoice), kept while it isn't shown. People only.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/profile/effects' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meProfileUsernameCheck

GET/v1/me/profile/username/check

Whether a username (name) could be yours: available, or the reason it can't (taken, reserved, or not 2–32 lowercase letters, numbers, underscores and single full stops). A name held for someone answers as taken. Checks and claims share an allowance of 60 an hour; past it, reason says so. People only.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/profile/username/check?name=Example' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
putMeProfileUsername

PUT/v1/me/profile/username

Claims or changes your username (username, unique regardless of case). After a change the next waits 30 days (429); your previous name is held for you for 14 days. Accounts made through an organization's invite have none (403); a taken name is 409; past the hourly allowance of lookups, 429. Recorded in your organizations' audit logs. People only, not assistants.

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/profile/username' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "username": "Example"
  }'
orgOpenapiJson

GET/v1/orgs/:orgId/openapi.json

The platform's OpenAPI document as the organization sees it: the public document, with anything the organization has been invited to. The organization's own people and keys; anyone else gets 403.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/openapi.json' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"