Correlate a message
POSThttp://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​
- 200
- 400
- 403
- 404
- 500
The message is correlated to one or more process instances
The provided data is not valid
Unauthorized
Not found
Internal server error
- curl
- java
- nodejs
- csharp
- python
- go
- CURL
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"
}'