Skip to content
Last updated

Making Authenticated API Requests

Once you have an access token, you can make calls to the eGain APIs by including it in the Authorization header of your request as a Bearer token.

-H "Accept: application/json" \
-H "Authorization: Bearer <your_access_token>"

Domain Usage Reminder: The domain for calling the actual APIs is https://api.ai.egain.cloud/. Ensure you update the base URL from your token request logic.