The ZOKO API uses API keys to authenticate requests. You can view and manage your API key in the Zoko Dashboard.
The API key needs to passed as a header into every API call you make.
All API requests must be made over HTTPS.
- Calls made over plain HTTP will fail.
- API requests without authentication will also fail.
Your API keys carry many privileges, so be sure to keep them confidential! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
Before you start using the API, make sure you have your API key ready. If you haven’t received this yet, please contact our helpdesk.
curl --request GET \
--url https://chat.zoko.io/v2/message/e202794d-15f6-487a-971b-5e2b6ea8a2a5/history \
--header 'accept: application/json' \
--header 'apikey: your-api-key-here'