Quickstart
Retrieve your first record with a personal access token and a single API request.
Before you begin
You need a Tape account and one record you can view. No account yet? Sign up for Tape.
The API sends and receives JSON over HTTPS. Send every request to https://api.tapeapp.com.
Tape keeps data as records in database apps. Each record has fields, such as a name or a status. Apps live in workspaces, and workspaces in your organization.
Follow the Tape API guide, first steps in the Tape Community. It walks you through three requests in Postman, without writing code.
Step 1: Create a personal access token
- Select your profile picture, then select Preferences.
- In the settings window, select Developer (under Features).
- Under Personal access tokens (PATs), select New token.
- Name the token, for example "Quickstart".
- Under Content access, clear All, then select the workspace that holds your record.
- Under Capabilities, clear All, then select Read records. A capability is one thing the token may do.
- Select Create token and copy the token.

Tape shows the token only once. Store it like a password.
Save the token as an environment variable:
export TAPE_TOKEN="tape_pat_..."
Revoke it under Developer and create a new one.
Step 2: Retrieve a record
Make a GET request to /v1/record/{record_id}. Send the token as a bearer token in the Authorization header.
Use the ID of a record you can view: open the record in Tape, select •••, then select Developer and copy the Record ID. In the examples, replace 123456 with your record ID.
- cURL
- JavaScript
- Python
- PHP
curl https://api.tapeapp.com/v1/record/123456 \
-H "Authorization: Bearer $TAPE_TOKEN"
const response = await fetch("https://api.tapeapp.com/v1/record/123456", {
headers: { Authorization: `Bearer ${process.env.TAPE_TOKEN}` },
});
console.log(JSON.stringify(await response.json(), null, 2));
import json
import os
import requests
response = requests.get(
"https://api.tapeapp.com/v1/record/123456",
headers={"Authorization": f"Bearer {os.environ['TAPE_TOKEN']}"},
)
print(json.dumps(response.json(), indent=2))
<?php
$context = stream_context_create([
'http' => [
'method' => 'GET',
'header' => 'Authorization: Bearer ' . getenv('TAPE_TOKEN'),
],
]);
$data = file_get_contents('https://api.tapeapp.com/v1/record/123456', false, $context);
echo json_encode(json_decode($data, true), JSON_PRETTY_PRINT);
The API returns the record as JSON. Your response has the ID, title and fields of your record. This example shows a contact record:
{
"record_id": 1,
"app_id": 1,
"title": "Clara Weber",
"created_on": "2022-03-01 12:00:00",
"fields": [
{
"field_id": 1,
"external_id": "full_name",
"label": "Full Name",
"type": "text",
"field_type": "single_text",
"values": [
{
"value": "Clara Weber"
}
]
}
]
}
Key fields
record_id: the ID of the record.app_id: the ID of the record's database app. You need it to create records there.title: the record title, as shown in Tape.fields: the fields of the record, one entry per field.field_idandexternal_id: the field's ID and its slug, a readable ID such asfull_name. Use either to write values.values: the field values. Their shape depends on the field type.
Getting an error?
400 or 401 error
Check that TAPE_TOKEN holds the whole token, prefix included. See Authentication errors.
403 error
Your token is missing the capability Read records. Create a new token that has it.
404 error
Check the record ID, then check that your token's content access includes the record's workspace.
Build on your first request
Pick your next task. Each page has a complete request and response.
| Task | Page | Capabilities the token needs |
|---|---|---|
| Create a record | Create a record | Edit records, plus Read records to read it back |
| Receive a webhook | Working with webhooks | Manage webhooks and Read records |
| Run an automation | Run an automation | Run automations, plus Read automations to find its ID |
| Connect an AI client | Connect to Tape MCP | None. You sign in with your Tape account |
You can't add capabilities to an existing token. Create a new token for the task. Webhooks and automation runs also need the Admin role in the app's workspace.
Next steps
create, update, delete and filter records. Pagination pages through long lists.
map items, spaces and hooks to Tape.
the value format of every field type.
limit a token to the apps it needs.
pick the capabilities for your integration.
compare personal access tokens, user API keys and OAuth.
handle 401, 403 and 429 responses.
run your own JavaScript inside Tape.