palbaseDocs

Palbase Messaging · API

POST/messaging/admin/reports/{report_id}/resolve

Resolve a report

The report is dealt with, and how (the project's own word).

Called by your server, with the project's secret key.

Path

report_idstring (uuid) · requiredThe report.

Request body

resolutionstring · requiredWhat came of it (1 to 64 characters).
curl
curl -X POST "https://<your-ref>.palbase.studio/messaging/admin/reports/<report_id>/resolve" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{"resolution":"string"}'

Responses

200The report

400The request is malformed, or a field breaks a rule (the error names which)

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 (`report_not_found`)

413The request body is too large (`request_too_large`)

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 AdminResolveReport of messaging's contract.