Skip to main content
POST
/
message
/
index-moment
Index Message Moment
curl --request POST \
  --url https://api.inprocess.world/api/message/index-moment \
  --header 'Content-Type: application/json' \
  --data '
{
  "messageId": "2659837e-4c9a-4647-8cdc-d72a6237a67b"
}
'
{
  "success": true,
  "messageMoment": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "message": "2659837e-4c9a-4647-8cdc-d72a6237a67b",
    "moment": "5264bb73-507a-44ce-8f17-4443af13f7b4"
  }
}

Body

application/json
messageId
string<uuid>
required

The unique identifier (UUID) of the message to index

Response

Successfully indexed message

success
boolean

Indicates if the indexing was successful

messageMoment
object

The created message-moment association