cURL
curl --request POST \ --url https://app.melodi.fyi/api/external/intent-message-associations \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data '[ { "intentId": 123, "messageId": 123 } ]'
[ { "id": 123, "intentId": 123, "messageId": 123, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ]
Associate a message or messages (and the related threads) to an existing intent
Your Melodi API key
The body is of type object[].
object[]
Successfully created intent message associations
The response is of type object[].
Was this page helpful?