Documentation

Getting Started

Welcome to NotiRest. This guide will get you from zero to a working API endpoint in under 5 minutes.

1

Create your account

Sign up at notirest.io and verify your email address.

2

Connect your Notion database

Go to your Notion workspace. Open the database you want to expose as an API. Click the ••• menu in the top right corner. Click Add connections and search for NotiRest. Click Confirm to grant access.

3

Create your endpoint

In your NotiRest dashboard, go to Endpoints and click New Connection. Paste your Notion Database ID (found in the database URL) and give your endpoint a label.

4

Generate an API key

Go to API Keys and click Generate Key. Label it (e.g. Production) and save it somewhere safe. You will only see it once.

5

Make your first API call

That's it. You now have a working REST API powered by your Notion database.

First API Call

fetch('https://notirest.io/api/your-endpoint', {
  headers: {
    'x-api-key': 'nrest_your_api_key_here'
  }
})
.then(res => res.json())
.then(data => console.log(data))