Hoppa till innehållet

Download the raw message

GET/v1/inbound/{id}/raw

TypeScript sendora.inbound.raw(inboundMessageId)

Python sendora.inbound.raw(inbound_message_id)

PHP $sendora->inbound->raw($inboundMessageId)

Java sendora.inbound().raw(inboundMessageId)

Key sk_… a server key

The message byte for byte as it was received, as message/rfc822 under Content-Disposition: attachment. 410 once the content window has passed.

Parameters

  • idin pathstring (uuid)required

    The inbound message id.

Responses

Errors

Every error answers error, the code, and message, a sentence for a person. A code that adds fields is shown in full below the table.

CodeStatusMeaning
unauthorized401The key is missing, malformed or revoked.
wrong_token_kind403The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes.
not_for_connections403A connected app called an operation that no tool of the MCP server calls. An API key can.
read_only_connection403A connected app may only read here: the account is read only through a connection, and a live server takes changes only if the person allowed them when connecting.
test_server_only403A connected app may create a secret, or do what cannot be undone, on a test server only.
not_found404No such inbound message of this server.
content_unreadable409The stored content of this received message cannot be opened. Sendora has been told.
content_expired410The content of this received message is gone; the stream’s content window has passed. The message itself stays 13 months.
  • WWW-Authenticateheader on 401"Bearer"

    Always Bearer: send the key as Authorization: Bearer <key>.