Authenticate requests to the Meya Webhook API with an API Key (or "token") and pass it as the username of basic auth. All requests must be made over HTTPS as HTTP requests will be ignored.

curl https://api.meya.ai/PATH_TO_RESOURCE -u YOUR_API_KEY:
import requests
from requests.auth import HTTPBasicAuth

auth = HTTPBasicAuth("YOUR_API_KEY", None)
requests.get("https://api.meya.ai/PATH_TO_RESOURCE", auth=auth)
http https://api.meya.ai/PATH_TO_RESOURCE -a YOUR_API_KEY:

API keys

  • are 32 character random string of characters from the set [A-Za-z0-9]
  • are scoped to individual bots
  • should be treated as secret (do not publish on public website client-side code)
  • can be regenerated by deleting and re-adding your integration

👍

Tip: create bots + API keys for testing

Each API key is scoped to a specific bot. You can create test bots each with their own unique API key. This is useful for testing the API.

🚧

SSL-only

All requests must be made over HTTPS as HTTP requests will be ignored.