Skip to content

Authentication

The Beeving API uses Bearer tokens to authenticate requests.

Get a Token

  1. Log in to app.beeving.com
  2. Go to Settings → API Tokens
  3. Click New token
  4. Give it a name and select permissions
  5. Copy the token (shown only once)

Use the Token

Add the Authorization header to every request:

Authorization: Bearer your_token_here

Example

bash
curl https://app.beeving.com/api/v1/contacts \
  -H "Authorization: Bearer bee_live_xxxxxxxxxxxx"

Permissions

Tokens are scoped to the permissions selected at creation. Accessing a resource without the required permission returns 403 Forbidden.

PermissionAccess
contacts:readRead contacts
contacts:writeCreate and update contacts
campaigns:readRead campaigns
campaigns:writeCreate and manage campaigns
crm:readRead CRM data
crm:writeCreate and update CRM data
webhooks:writeManage webhooks
analytics:readAccess analytics

Security

WARNING

Never share your API tokens. Treat them like passwords.

  • Store tokens in environment variables
  • Create separate tokens per application or service
  • Immediately revoke any compromised token from Settings
  • Use tokens with the minimum required permissions

Authentication Errors

json
{
  "message": "Unauthenticated.",
  "errors": null,
  "code": 401
}

If you receive this error, verify that:

  • The token is included in the Authorization header
  • The format is Bearer <token> (with the Bearer prefix)
  • The token has not been revoked

API v1.0