cURL
curl --request PUT \ --url https://app.melodi.fyi/api/external/intents \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data '{ "projectId": 123, "name": "<string>" }'
{ "id": 123, "projectId": 123, "name": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Create an intent - no-op if an issue with the same name already exists in the project
Your Melodi API key
ID of the project this intent belongs to
Name of the intent
External intent successfully created or updated
Unique identifier for the intent
Was this page helpful?