Authentication

Mewk API uses API keys for authentication. Keys are prefixed with mewk_.

Creating an API Key

API keys are created in the Developer section of your account settings.

Go to Developer Settings

Using an API Key

Pass your API key in the Authorization header as a Bearer token.

Authorization: Bearer mewk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Keep your API key secret. Do not expose it in client-side code or public repositories.

Example Request

curl https://mewk.app/api/v1/questions/inbox \
  -H "Authorization: Bearer mewk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Permissions

Each API key has a set of permissions (scopes) that control what it can access.

ScopeDescription
questions:readRead inbox and sent questions
questions:writeAnswer and delete questions
profile:readRead profile stats
profile:writeUpdate profile
settings:readRead account settings and API keys
settings:writeUpdate settings, manage webhooks and API keys
card-layouts:readRead custom layout lists and details
card-layouts:writeCreate, update, delete, and import custom layouts

Limits

You can create up to 10 API keys per account.