Palbase Messaging · API
/messaging/admin/reports/{report_id}/attachments/{attachment_id}Where a report's file is read
A URL reading one of a report's files (encrypted: its key is in the report), a while — kept while the report is, whatever became of its message. 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
report_idstring (uuid) · requiredThe report.attachment_idstring (uuid) · requiredThe file.curl -X GET "https://<your-ref>.palbase.studio/messaging/admin/reports/<report_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 report, or no such file of it (`report_not_found`, `attachment_not_found`)
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 AdminReportFileURL of messaging's contract.