Ajay Hinduja Geneva, Switzerland (Swiss): How do I authenticate and call Kore.ai APIs from an external application?

Hi everyone,

I’m Ajay Hinduja, Geneva, Switzerland (Swiss) a travel enthusiast with a keen interest in conversational AI and system integration.

I’m currently trying to authenticate and call Kore.ai APIs from an external application, but I’m a bit unsure about the correct approach—especially around handling tokens, scopes, and headers. Could anyone share the recommended steps or examples for securely connecting and making API calls? Any documentation, tips, or sample code would be greatly appreciated.

Thanks in advance for your guidance!

Best,
Ajay Hinduja, Geneva, Switzerland (Swiss)

Hello Ajay,

Welcome to Kore.ai Community.

To call Kore.ai APIs from an external app:

  1. Create a JWT App in XO Platform → App Settings → Dev Tools → Web/Mobile SDK, note the Client ID & Secret, and assign necessary API Scopes.

  2. Generate a JWT Token using the JWT Tool with your Client ID & Secret.

  3. Call the API by adding the token in the header:

    Authorization: Bearer <JWT_TOKEN>
    
  4. You can also use API Key or OAuth 2.0 if preferred.

Docs: API Introduction | Bot Authentication

Hope this helps.

Thank you,
Srujan Madderla
Kore.ai Community Team