Request

POST https://producer.events.newtral.es/claim-detection/resource/text

Request body

The request body takes a complete PredictionText resource, containing the following writable properties:

{
    "text": "string"
}

Properties

Name Type Description Additional
text string

The text that needs to be verified.

Authorization

This request requires the use of one of following authorization methods: API key .

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
201 Created

The event has been successfully sent

SendResponse
400 Bad Request

The body is invalid

AvroValidationException
401 Unauthorized

The user is not authenticated

UnauthorizedException
500 Internal Server Error

The event could not be sent

EventNotSentException