Confirm received messages
Acknowledge received messages so agrirouter marks them as processed for the confirming endpoint.
Confirm that messages have been received and processed by the application. Each confirmation carries a message ID and the endpoint ID that received it. The same message can reach multiple endpoints, and each endpoint confirms it separately, either in the same request or in different ones.
Agrirouter OAuth2 authentication for QA environment.
The client credentials flow obtains tokens from https://api.qa.agrirouter.farm/token,
the same host as the API. https://oauth.qa.agrirouter.farm/token keeps working but is
deprecated. The public keys that sign access tokens are available at
https://api.qa.agrirouter.farm/jwks.
In: header
Header Parameters
The farmer's tenant ID in relation to which communication is done.
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://api.agrirouter.com/confirmations" \ -H "x-agrirouter-tenant-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "confirmations": [ { "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2", "endpoint_id": "e9ce0d4f-d433-423d-9497-4c000544106c" } ] }'{
"message": "string"
}{
"message": "string"
}{
"message": "string"
}