Parseable

Ingest JSON events with headers

Copy page as Markdown
View page source on GitHub
Ask OpenAI about this page
Ask Claude about this page

Ingest JSON events and route them with request headers. Use X-P-Stream to specify the destination dataset.

POST
/api/v1/ingest
X-API-Key<token>

In: header

Header Parameters

X-P-Stream*string

Request Body

application/json

Response Body

application/json

curl -X POST "http://localhost:8000/api/v1/ingest" \  -H "X-P-Stream: string" \  -H "Content-Type: application/json" \  -d '{    "level": "info",    "message": "User logged in",    "timestamp": "2023-01-01T12:00:00Z",    "user_id": "user123"  }'
Empty

Was this page helpful?