Api Documentation

Messages

Messages can be sent from one user to another and can either be a normal message or a connection invite. For privacy reasons, user authentication is always required for this endpoint.
Retrieves all messages for the current user.
Sends a new message or connection invite.
Updates the status of a message or connection invite. Can only be changed by the recipient. Accepting an invitation will create a connection between the author and the recipient of the message.
Deletes a single message or invitation.
Json
XML
POST https://api.bundeling.com/V2/messages

Parameters

Body

NameDescriptionTypeNillableRequired
recipient_uuidThe unique identifier of the receiving user.stringfalsetrue
typeDefines if it is a message, or a user connection invitation.
Accepted values: message, invite
stringfalsetrue
colleague_user_uuidWhen 2 users are already connected, they can introduce colleagues to each other by sending an "invite" with the unique identifier of the user to introduce in this field.stringfalsefalse
object_typeThe message can be linked to an other object
Accepted values: bulletin_board_item, connection
stringfalsefalse
object_uuidThe unique identifier from the linked objectstringfalsefalse
messageThe actual body of the message.stringfalsetrue

Example request

Headers

Content-Type:application/json
Api-Key:RAegSX8yZfEbqSPM

Body

{
    "recipient_uuid": "8e09c4749b234633a7319148aac8cb81",
    "type": "message",
    "colleague_user_uuid": "48b99d307f8746a8b126f76be5d1153e",
    "object_type": "bulletin_board_item",
    "object_uuid": "d669b048d2084892b5a5232b78923227",
    "message": "Dear John Doe..."
}

Example response

{
    "uuid": "eeb763c41c054dcc8f6d9362f24ee9b2",
    "author_uuid": "d7743aaf53224e279853c7d0c1dbfb3a",
    "recipient_uuid": "8e09c4749b234633a7319148aac8cb81",
    "type": "message",
    "colleague_user_uuid": "48b99d307f8746a8b126f76be5d1153e",
    "object_type": "",
    "object_uuid": "",
    "file_uuid": "",
    "status": "read",
    "message": "Dear John Doe...",
    "creationdate": "2024-01-20T00:00:00+0100",
    "lastupdate": "2024-01-20T00:00:00+0100"
}