Help Center
How can we help? πŸ‘‹

How to integrate with an API key

Where to find your API key and documentation

You can find your API key under the Connect tab from any trained AI Block.

Notion image

You will have to make a POST request to the URL that you are provided, which should look something like this:

Notion image

The endpoint will expect a JSON in the payload body and can process requests in curl, python, or node.js. The request must be an object with the data property and a list of the texts you want to classify as values. The response will be JSON formatted, and a successful classification will return a list of results for each given text in the data parameter, with classifications keys for each result.

Need more API documentation?

We’re available to provide advice, answer questions, and talk through setup options whenever you’re ready. Click here to read more about getting in touch.

Did this answer your question?