Skip to Content
Data Imports

List Posthog Projects

POST
/v0/projects/{idOrSlug}/data-imports/posthog/projects

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Request Body

application/json
  1. body
apiKey*string
Length4 <= length <= 256
region*string
Value in"us""eu"

Response Body

Success

application/json
  1. response
[index: integer]?
Example Request
curl -X POST 'https://api.faststats.dev/v0/projects/string/data-imports/posthog/projects' \  -H 'Content-Type: application/json' \  -d '{  "apiKey": "string",  "region": "us"}'
Example Response
[  {    "id": "string",    "name": "string"  }]