Quickstart
This quickstart walks you through creating an account, generating an API key, and making your first request. Replace the placeholder URLs and resource names with your own.
Before you begin
Section titled “Before you begin”You need:
- An account on [your product]. Sign up if you don’t have one.
- A terminal with
curl, or a project set up with the language SDK of your choice.
-
Create an API key.
Sign in, open Settings → API keys, and click Create key. Copy it somewhere safe — you’ll only see it once.
-
Export the key as an environment variable.
Terminal window export API_KEY="sk_live_replace_me" -
Send your first request.
Terminal window curl https://api.example.com/v1/widgets \-H "Authorization: Bearer $API_KEY" \-H "Content-Type: application/json" \-d '{"name": "My first widget"}'const res = await fetch('https://api.example.com/v1/widgets', {method: 'POST',headers: {Authorization: `Bearer ${process.env.API_KEY}`,'Content-Type': 'application/json',},body: JSON.stringify({ name: 'My first widget' }),});const widget = await res.json();import os, requestsres = requests.post("https://api.example.com/v1/widgets",headers={"Authorization": f"Bearer {os.environ['API_KEY']}"},json={"name": "My first widget"},)widget = res.json() -
Inspect the response.
Response {"id": "wdg_01H8Z9XJ7M3K4P5Q6R7S8T9V0W","name": "My first widget","created_at": "2026-05-10T12:00:00Z"}
What’s next
Section titled “What’s next”- Read How it works to understand the data model.
- Browse the API reference for every endpoint.
- See Authentication for key rotation and scoping.
Maintained by EkLine