The NLAPI Docs
  • Agent_List
  • Authentication
  • Devii
  • Documentation
  • Guides
  • Portal
  • Pricing
  • Upcoming Roadmap
  • Schemas
  • NLAPI Training Data and Calls Documentation
Powered by GitBook
On this page
  • Authentication From Your App to NLAPI
  • Authentication From the NLAPI to Your App
  • Devii Auth

Authentication

PreviousAgent_ListNextDevii

Last updated 4 months ago

Authentication From Your App to NLAPI

To create an API key, please refer to step 3 of .

Once you have an API key you will pass the key to the nlapi endpoint with the header {"nlapi-key" : "[YOUR_KEY]""}.

Authentication From the NLAPI to Your App

In addition to passing an api-key to the NLAPI you need to pass your user's authentication token.

To take advantage of user permissions you already have set up with your api, we need to give you a way to pass-through authentication. Therefore the Authorization header that you pass to the NLAPI for a call will be forwarded to your application. This way you can identify your user as you normally would. Some developers generate a unique access token for a user to use the NLAPI specifically.

Devii Auth

When using Devii's Authentication system, you can authenticate your users as you normally would with Devii. Then just pass the following header to the NLAPI {"Authorization" : "Bearer [ACCESS_TOKEN]"} and all the policies you have for that user will apply to the NLAPI during that run.

Devii Auth Docs
Getting Started