Fetch invoice metadata
Changed onReturns the Invoice to its sender: prove the sender's email with X-Email-Verification-Token (or the scribo_session cookie), as for a create. Each call mints a fresh signed download URL that expires at download_url_expires_at, 15 minutes later. Another sender's invoice and an unknown id return the same 404.
Request
- Base URLhttps://scribo.causaprima.ai
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Invoice UUID
Headers
Email-ownership token of the invoice's sender, from POST /api/v1/scribo/email-verifications/{id}/redeem (reusable for about 30 minutes). Required on every read unless a scribo_session cookie is sent; without either the read answers 401 email_verification_required.
Response
Invoice metadata
Changes
- info
added the new optional
headerrequest parameterX-Email-Verification-Token - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info