M

Mode Discovery API

REST discovered

Details
URL
https://app.mode.com/batch/{workspace}
Docs
https://mode.com/developer/discovery-api/introduction/
Authentication
Mode Discovery API signature token bundle compound discovered Get key ↗
Authorization: Bearer <credential>

First create a regular Mode API token, then call the Discovery API signature-token creation endpoint described in Signature Tokens using that API token via Basic auth. The response returns three values: token, access_key, and access_secret. Concatenate them as token:access_key:access_secret, Base64-encode the result, and send it as Authorization: Bearer <base64(...)> on Discovery API requests, as shown in Discovery API introduction.

Mode API token (token + secret) basic discovered Get credentials ↗
Authorization: Basic <credential>

In a paid Mode workspace, an admin can create a Workspace API token from Workspace Settings → Privacy & Security → API. Click the gear icon, choose Create new API token, give it a display name, and save the shown token and one-time secret. Mode documents this in API Reference help and API authentication. Use the token as the Basic auth username and the secret as the Basic auth password.