POST
/
issue-message-associations
Add messages to an existing issue
curl --request POST \
  --url https://app.melodi.fyi/api/external/issue-message-associations \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '[
  {
    "issueId": 123,
    "messageId": 123
  }
]'
[
  {
    "id": 123,
    "issueId": 123,
    "messageId": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

api-key
string
header
required

Your Melodi API key

Body

application/json · object[]
issueId
integer
required

ID of the issue to associate

messageId
integer
required

ID of the message to associate

Response

Successfully created issue message associations

id
integer
required

Unique identifier for the association

issueId
integer
required

ID of the associated issue

messageId
integer
required

ID of the associated message

createdAt
string<date-time>
required
updatedAt
string<date-time>
required