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
ID of the intent to associate
ID of the message to associate
Successfully created intent message associations
Unique identifier for the association
ID of the associated intent
ID of the associated message
Was this page helpful?