← Back to Home

API Documentation

RESTful API reference for Cellforge Platform

Base URL: https://api.terrapinlab.com/v1

Authentication: Bearer token required for all requests

For API access, contact developers@terrapinlab.com

Authentication

All API requests require authentication using a Bearer token in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Endpoints

GET /users/me

Retrieve the current authenticated user's information.

Response:

{
  "id": "user_abc123",
  "email": "user@example.com",
  "name": "John Doe",
  "created_at": "2024-01-01T00:00:00Z"
}

POST /data/sync

Sync data to the Cellforge Platform.

Request Body:

{
  "type": "location",
  "data": {
    "latitude": 37.7749,
    "longitude": -122.4194
  }
}

Rate Limits

API requests are limited to:

Error Codes

The API uses standard HTTP status codes:

Support

For API support and questions: developers@terrapinlab.com