For the complete documentation index, see llms.txt. This page is also available as Markdown.

Developer Platform

Welcome to your team’s developer platform

GitBook Assistant

Get started in minutes

Make your first API call in under 5 minutes.

This quickstart walks through the basic setup: create an account, generate an API key, and send a test request. The examples use the same request in several languages, so you can start with the one that matches your stack.

Customize your first request

Explain what you're building and let AI tweak your quickstart.

GitBook Assistant

life-ring

With your first request done, use the guides for deeper setup and the API reference for endpoints and parameters.

Get started API reference

1

Create your API key

Set up your account, then generate an API key for local testing and your first integration.

Sign upLog in

2

Make your first request

Pick a language below, replace YOUR_API_KEY, and run.

// Import the SDK
import ExampleAPI from "example-api";

// Initialize the client
const client = new ExampleAPI({ apiKey: "YOUR_API_KEY" });

// Send your first message
const response = await client.messages.send({
  message: "Hello, world!"
});
3

Parse the response

If the request succeeds, you should get a response like this:

response.json
{
  "id": "msg_1234567890",
  "message": "Hello, world!",
  "status": "queued",
  "createdAt": "2026-01-01T12:00:00Z"
}

Image

Learn more about the developer platform

Read guides, watch tutorials, and learn more about working with the developer platform and integrating it with your own stack.

Guides Documentation

Join a community of over 3,000 developers

Join our Discord community or create your first PR in just a few steps.