Palbase Messaging · API
/messaging/admin/conversations/{conversation_id}/messages/{message_id}/attachments/{attachment_id}Where a message's file is read
A URL reading one of a message's files (encrypted: its key is in the message), a while. In the access log. An owner's or an admin's read from Studio or with a token: a member sees the conversations and the reports, not what was said.
Called by your server, with the project's secret key.
Path
conversation_idstring (uuid) · requiredThe conversation.message_idstring (uuid) · requiredThe message.attachment_idstring (uuid) · requiredThe file.curl -X GET "https://<your-ref>.palbase.studio/messaging/admin/conversations/<conversation_id>/messages/<message_id>/attachments/<attachment_id>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200Where to read it
401No key, a key of no project, a token not valid (the edge's answer), or no person's session (`user_required`)
403Not the project's secret key (`secret_key_required`)
404No such conversation, message or file (`conversation_not_found`, `message_not_found`, `attachment_not_found`)
410The message was removed, its files with it (`message_removed`)
429Over the project's request limit; Retry-After says when to try again
503Temporarily unavailable; retrying is safe after Retry-After
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation AdminFileURL of messaging's contract.