Skip to main content
Use API keys to connect external tools and AI agents to your account. Keys have access to all workspaces in your organization. Common use cases:
  • AI agents — Claude Code, OpenClaw, custom LLM agents that generate social content
  • Automation platforms — n8n, Make, Zapier workflows
  • Custom integrations — your own scripts or internal tools
All API requests require a Bearer token in the Authorization header.

Create an API key

  1. Open your Marky dashboard
  2. Click Settings in the left sidebar (gear icon) — this opens your Organization Settings
  3. Scroll down to the API Keys section
  4. Click Create API Key
  5. Give it a name (e.g., “n8n production”, “Zapier”)
  6. Copy the key immediately. It’s only shown once.
You must be an org admin to create API keys.
Your key looks like this:
mk_live_a1b2c3d4e5f6g7h8i9j0...

Use your API key

Include the key as a Bearer token in every request:
curl https://api.mymarky.ai/api/beta/posts \
  -H "Authorization: Bearer mk_live_your_key_here" \
  -H "Content-Type: application/json"

Key security

  • Keys are hashed before storage. We cannot retrieve a lost key; generate a new one.
  • Revoke compromised keys immediately in Organization Settings > API Keys.
  • Each org can have up to 10 active keys.
  • Use separate keys for separate integrations so you can revoke individually.

Error responses

StatusMeaning
401Missing or invalid API key
403Business doesn’t belong to your org
429Rate limit exceeded (check Retry-After header)