POST/v1/services
services.create
Creates a new service and returns the row plus a one-time `signing_secret`. **The signing_secret is shown exactly once** — store it securely. Use the value as the HMAC key when signing `X-Culprit-Signature` on outbound webhooks to ingest.theculprit.ai.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Idempotency-Key | string | optional | Optional client-supplied key for at-most-once semantics. The first request with a given key is processed; subsequent requests with the same key replay the cached response for 24h. |
Request body
No parameters.
Response
No parameters.
Examples
curl -sS -X POST \
-H "Authorization: Bearer $CULPRIT_API_TOKEN" \
-H "content-type: application/json" \
-d '{ /* … */ }' \
https://api.theculprit.ai/v1/servicesTry it
Stored locally in your browser at localStorage.docs.tryit.token. Never sent to Culprit's analytics. Use a read-only token.