Capture a woku review or NPS response (mobile SDK)
Ingestion endpoint for the Woku mobile SDK. Routes by kind: woku creates a woku review, nps an NPS response. The company is resolved from the API key and the response channel is sealed server-side to mobile-sdk. Send application/json for text/rating captures, or multipart/form-data (a file part plus a payload field with the CaptureSubmission JSON) for audio captures, which are stored as voicemail reviews. Idempotent by the submission’s client id (X-Woku-Idempotency-Key header or payload.id): retrying a processed submission returns the same result instead of duplicating it.
Authorizations
Company API key. Obtain this from your Woku dashboard under Settings > API Keys. The same key used for the v0 endpoints.
Headers
Client-generated submission id for idempotent retries (falls back to payload.id).
Body
Normalized capture from the Woku mobile SDK. The response channel is sealed server-side to 'mobile-sdk' (it is not read from the body).
woku, nps Client-generated idempotency id
wokuId for a woku capture; optional npsToolId for an NPS capture (company-level when omitted)
Woku star rating (kind=woku)
1 <= x <= 5NPS score (kind=nps)
0 <= x <= 103000