Documentation

API URL


POST /sample-data

Headers
Code
Content-Type: application/json
Body Parameters


Example Request

Code
GET /api/v1/sample-data?api_key=YOUR_API_KEY&type=user&count=5&fields=name;email;phone

Successful Response

Status
HTML
200 OK
Body
Code
{
  "success": true,
  "type": "user",
  "count": 5,
  "format": "json",
  "data": [
    {
      "name": "John Smith",
      "email": "john.smith@example.com",
      "phone": "+1-555-123-4567"
    }
  ],
  "correlationId": "req_abc123",
  "timestamp": "2026-04-06T00:00:00.000Z"
}

Error Response

Example
Code
400 INVALID_INPUT – Invalid parameters or missing required fields
500 INTERNAL_ERROR – Data generation or CSV export failed
429 TOO_MANY_REQUESTS – Rate limit exceeded

Last Updated:  May 4, 2026