Request

 wss://consumer.events.newtral.es/subscribeToTopic

Request body

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

{
    "apiKey": "string"
}

Properties

Name Type Description Additional
apiKey string

The API key used to subscribe to a topic.

Response

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

Status code Description Resource
200 OK

Detection messages sent to clients subscribed.

ReplyDetectionDto
200 OK

Matching messages sent to clients subscribed.

ReplyMatchingDto
401 Unauthorized

Unauthorized, invalid API key

UnauthorizedException