Clarityflow API
  • Clarityflow Developer API
  • Authentication
  • Webhooks
    • Webhook Event for Conversation Created
    • Webhook Event for Message Created
    • Webhook Event for Message Viewed
    • Webhook Event for Appointment Scheduled
    • Webhook Event for Product Purchased
    • Webhook Event for Form Submission
  • API Reference
    • Conversations
    • Messages
Powered by GitBook
On this page
  • Get your API token
  • Account Authorization

Authentication

PreviousClarityflow Developer APINextWebhooks

Last updated 2 years ago

Get your API token

Your API requests are authenticated an API token generated in your Clarityflow account (formerly known as ZipMessage). Any request that doesn't include an API token will return an error.

You can generate an API token in your Clarityflow account in Settings > Integrations > API tokens

Clarityflow expects your API token to be included in all API requests in a header that looks like the following:

Authorization: clarityflow_api_token

Replace clarityflow_api_token with the API token found in your account.

Account Authorization

The Clarityflow API endpoints are made available to accounts that have an active subscription to a plan that allows for API access. Refer to the Clarityflow to confirm the plan level required to access.

If a request is made with a valid API token but the associated account is unauthorized for API access, it will return a 403 error:

{
    "error": "This account needs to upgrade in order to access the API."
}

pricing tiers