Fetch all rental invoice PDFs from the user’s connected Gmail account and upload them to S3.
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/azfar-imtiaz/PayPulse-Cloud/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header.
rental for this endpoint."Rental invoices ingested successfully!" or "No rental invoices found for this user."200 on success.null when no new invoices were found. Otherwise contains the fields below.| Status | Error code | Description |
|---|---|---|
400 | INVALID_JSON | The request body is not valid JSON. |
400 | MISSING_FIELDS | A required key is missing from the request. |
401 | INVALID_CREDENTIALS | The Authorization header is missing or the OAuth token is invalid. |
401 | TOKEN_EXPIRED | The JWT has expired. |
502 | DEPENDENCY_FAILURE | The Gmail API returned an error. |
502 | GMAIL_TOKEN_EXPIRED | The Gmail OAuth refresh token has expired and the account must be re-connected. |
500 | INTERNAL_SERVER_ERROR | An unexpected server-side error occurred. |