Authorize
After creating your API Key
, you are ready to make API calls. If you are using a client, authentication will be handled for you. If you are using the REST API, you will need to add the Authorization
header as described in the cURL example.
const app = new Clarifai.App({apiKey: 'YOUR_API_KEY'});
If the API Key does not have the required scope(s) to execute a given request, you will get an error message reporting the missing scopes and/or endpoints that your key needs to execute this request.
Last updated
Was this helpful?