Skip to main content

Documentation Index

Fetch the complete documentation index at: https://doc.spike.ac/docs/llms.txt

Use this file to discover all available pages before exploring further.

The Spike API allows you to submit forms, retrieve submissions, and manage your forms programmatically.

Base URL

https://api.spike.ac

Authentication

Most endpoints require authentication via API key. Include your key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Get your API key from the dashboard settings.

Content Types

The API accepts and returns JSON by default. For form submissions, you can also use:
  • application/json
  • application/x-www-form-urlencoded
  • multipart/form-data (for file uploads)

Response Format

All responses are JSON:
// Success
{
  "success": true,
  "data": { ... }
}

// Error
{
  "error": "Error message",
  "code": "ERROR_CODE"
}

Rate Limits

PlanRequests/minute
Free60
Pro300
Business1000
EnterpriseCustom
Rate limit headers are included in responses:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 59
X-RateLimit-Reset: 1640000000

Endpoints Overview

MethodEndpointDescription
POST/f/{org_code}/{slug}Submit form
GET/forms/{id}/submissionsGet submissions
GET/forms/{id}/exportExport submissions
GET/formsList forms
POST/formsCreate form
GET/forms/{id}Get form
PATCH/forms/{id}Update form
DELETE/forms/{id}Delete form
GET/userGet user profile
GET/user/api-keysList API keys
POST/user/api-keysCreate API key
GET/files/{id}Download file