Skip to main content

Get content

GET 

/v1/content/document/:id

Please note that for security reasons, not all fields are returns. As a sender you won't have access to receiver_state, and as receiver no access to the sender_state.

read is set to true once, the document was opened for the first time either by the mobile or webclient or via the API using the read flag. Once it is set to true it cannot be set to false.

Request

Path Parameters

    id stringrequired

    document ID

    Example: b0440b80-0857-43e9-8f13-723c8eb6a39c

Responses

Content response

Schema

    content

    object

    content stringrequired
    content_type string

    meta

    object

    delivered boolean
    delivered_date ISO 8601
    read boolean
    read_date ISO 8601
    receiver string
    receiver_state string

    Possible values: [unread, read, archived, trashed, registering, deleted, pending]

    The state of the receiver, it is only return if the user is the receiver of the message

    sender string
    sender_state string

    Possible values: [active, archived, trashed, deleted, pending]

    The state of the sender, it is only return if the user is the sender of the message

    sent_date ISO 8601
    size number
    subject string
    type string
Loading...