POST
/
api
/
v1
/
data-quality
/
batch
const response = await api.quality.evaluateBatch({
  surveyName: 'Customer Satisfaction',
  responses: [{
    responseIdentifier: '54321',
    surveyEntries: [{
        question: 'How satisfied are you?',
        answer: 'I really love playing tennis with my friends on Fridays'
    }]
  }],
  callbackUrl: 'https://example.com/callback'
});
{
  "batchJobId": "123e4567-e89b-12d3-a456-426614174000",
  "status": "queued",
  "results": {
    "items": [],
    "nextCursor": null
  }
}

Authorizations

X-Aftercare-Key
string
header
required

API key for authentication

Body

application/json

Response

202
application/json

Batch evaluation job accepted

The response is of type object.