Getting Started

Make your first Tabular Pro API call in under 5 minutes.

Getting Started

This guide walks you through creating an API key and making your first request.

1. Create an API Key

  1. Log in to Tabular Pro at tabularpro.com/login
  2. Go to Settings > API Keys
  3. Click Create API Key, give it a name, and copy the key

Your key starts with tp_ and is only shown once. Store it securely.

2. Make Your First Request

List your surveys:

curl -H "X-API-Key: tp_your_key_here" \
  https://tabularpro.com/api/surveys

Response:

{
  "success": 1,
  "data": [
    {
      "survey_id": 1,
      "survey_name": "Customer Satisfaction Q2",
      "survey_status": 2,
      "response_count": 1247
    }
  ]
}

3. Try Common Operations

Get survey details:

curl -H "X-API-Key: tp_your_key_here" \
  https://tabularpro.com/api/surveys/1

Get response statistics:

curl -H "X-API-Key: tp_your_key_here" \
  https://tabularpro.com/api/responses/1/stats

Run AI sentiment analysis:

curl -X POST \
  -H "X-API-Key: tp_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"question_id": 5}' \
  https://tabularpro.com/api/responses/1/ai/sentiment

4. Using JavaScript

const API_KEY = 'tp_your_key_here';
const BASE_URL = 'https://tabularpro.com/api';

async function listSurveys() {
  const response = await fetch(`${BASE_URL}/surveys`, {
    headers: { 'X-API-Key': API_KEY },
  });
  const { data } = await response.json();
  return data;
}

5. Using Python

import requests

API_KEY = "tp_your_key_here"
BASE_URL = "https://tabularpro.com/api"

headers = {"X-API-Key": API_KEY}
response = requests.get(f"{BASE_URL}/surveys", headers=headers)
surveys = response.json()["data"]

Next Steps