POST /api/v2/conversations/messaging/... 400 Bad Request on canned response

Hey folks,

I’m trying to send a canned response from our WFM tool during an active chat. I’m using the endpoint /api/v2/conversations/messaging/{conversationId}/participants/{participantId}/messages. The body is:

{"type": "text", "text": "Thanks for waiting."}

I get a 400 error saying participantId is invalid. The ID comes from the webhook event. Am I missing a header or is this endpoint wrong for canned replies?