Quick Start
Let’s get started with the Logic API! In this guide, we will walk you through the steps to make your first API call.Prerequisites
This guide assumes you have access to the Logic dashboard and have already created a document. If you haven’t done this yet, please refer to the Making a Document and AutoDoc section.Step 1: Create an API key

Learn more about how to create your API key in the
Authorization section.
Step 2: Get the ID of your document
To get the ID of your document, you can use the/documents
endpoint. This will return a JSON object containing the ID of your document, created and updated dates, the slug you can use to refer to it for API requests, and more.
Learn more about how to get the document ID in the Document
IDs section.
Step 3: Execute your document using the API
To execute your document using the API, you can use the/documents/{document_id}/execute
endpoint. This will return a JSON object containing the output of your document.
Learn more about how to execute your document in the Executing a
Document section.
If you use Java, there are some additional steps to set up your project. You
can find more information in the Java Setup
section.