Authentication

The REST Content API, MCP and media upload endpoints accept an Inkie API key or OAuth access token as a Bearer token in the Authorization header.

Create an API key

  1. Sign in to Inkie.
  2. Go to Settings → API keys.
  3. Click Create API key, give it a name, and copy the key.

Copy it now - you won't be able to see the key again after leaving the page. If you lose it, revoke it and create a new one.

Use the key

Pass your key as a Bearer token in the Authorization header on every request:

curl https://app.inkie.ink/api/platforms \
  -H "Authorization: Bearer YOUR_API_KEY"

Key scope

Each API key is bound to one client and organisation. It can read and write content for that client while the creating user retains the required active membership. It does not grant access to every client on the account. There is no per-resource or read-only scope in v1.

Errors

StatusMeaning
401Missing or invalid API key.
403Valid key but you don't have access to the requested resource.

Key rotation

To rotate a key, go to Settings → API keys and create a new key. Update and verify your integrations, then revoke the old key. Revocation is immediate.

MCP authentication

The MCP endpoint at /api/mcp accepts either an Inkie API key or an OAuth access token as a Bearer token. OAuth-capable MCP clients handle sign-in and token storage for you. See the MCP quick start for connection details and a first call.

An OAuth token resolves to the signing-in user's first active client membership, so a user with several clients cannot choose between them over OAuth. To work on a specific client, use that client's API key.

Media upload authentication

POST /api/video-upload-url, GET /api/video-upload-url?assetId=UPLOAD_ID and POST /api/image-upload-url accept the same API key or OAuth access token as MCP in Authorization: Bearer TOKEN. They also accept a signed-in browser session. Use credentials for the same client when requesting the upload, polling and attaching.

Upload the file bytes with PUT to the returned uploadUrl. Do not forward your Inkie Bearer token to that URL: video bytes go directly to Mux, and image upload URLs already contain a signed storage token. See Uploading media for complete video and image curl examples, including the video polling ID.