Skip to main content
Version: 8.6

Correlate a message

POST 

http://localhost:8080/v2/messages/correlation

Publishes a message and correlates it to a subscription. If correlation is successful it will return the first process instance key the message correlated with.

Request​

Responses​

The message is correlated to one or more process instances

curl -L 'http://localhost:8080/v2/messages/correlation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"name": "string",
"correlationKey": "string",
"variables": {},
"tenantId": "string"
}'
Request Collapse all
Base URL
http://localhost:8080/v2
Body required
{
"name": "string",
"correlationKey": "string",
"variables": {},
"tenantId": "string"
}