Feedback and providers
POST /v1/outcomes
POST /v1/outcomes
Family: Feedback and providers · Operation ID: v1_ingest_outcomes
Access
Workspace API key: Authorization: Bearer <key>. The key is scoped to its workspace; the backend checks operation permissions and quota.
Open outcomes and provider setup
Required scope: suppressions
Create a key in Developer settings. Set API_BASE_URL to the current app origin.
Request example
curl --fail-with-body -X POST "$API_BASE_URL/v1/outcomes" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
--data-binary @request.jsonRequest body · application/json
{
"$ref": "#/components/schemas/OutcomeIngestRequest",
"definition": {
"properties": {
"outcomes": {
"items": {
"$ref": "#/components/schemas/OutcomeInput"
},
"type": "array"
},
"provider": {
"type": "string"
},
"source_key": {
"nullable": true,
"type": "string"
}
},
"required": [
"provider",
"outcomes"
],
"type": "object"
}
}Responses
200
{
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/OutcomeIngestResponse"
}
}
},
"description": "Provider outcomes ingested"
}400
{
"description": "Invalid outcome payload"
}default
{
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
},
"description": "Request error"
}