Single Message

This endpoint is designed to accept a single message and pass it through Listener. No transformation or splitting of the message occurs. Call this endpoint each time you want to send a single message.


Authorization: token SOURCE_SECRET_KEY
Content-Type: application/json
Sync: 1
HeaderRequiredSample ValueDescription
AuthorizationRequiredSource Secret keyDetermines to which source the data is sent.
SyncOptional1Requests a UUID from Ingest to ensure Kafka accepted the message. Value must be 1 for synchronous.

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: token 0f6fd50e-9515-4730-92c0-2360b5af56d3" \
  -H "Sync: 1" \
  -X POST -d '{"testing":"123"}' \
  -i \

Example Response

HTTP/1.1 201 Created
Content-Type: application/json

Response Codes

201Message successfully received.
401Authorization header not found.
500Message body could not be read or Kafka could not be reached.
502Bad Gateway.
503Service unavailable.
504Gateway timeout.
See the system administrator for frequent responses of 502, 503, or 504. You may need to scale up ingest services or check to see if ingest services are up and running.

results matching ""

    No results matching ""