Mark second reminder as sent
Marks the second reminder for an invoice as sent to the customer. This records the second reminder date and contact information.
What happens when you mark a second reminder as sent:
- Second reminder date (
secondReminderAt) is recorded as the current date - Second reminder type is set to “Manual” (indicating manual marking, not email sending)
- Contact recipient is recorded (from invoice contactId)
- User who marked it as sent is recorded
Important restrictions:
- Only invoices with status “New” or “Sent” can have reminders marked as sent
- The invoice must be overdue (past its due date) to send reminders
- A first reminder should typically be sent before a second reminder
- This endpoint marks the reminder as sent manually (use send reminder endpoint for email sending)
Use cases:
- Record that a second reminder was sent manually (e.g., via postal mail or other channels)
- Update reminder status after external sending
- Track reminder history
What is returned:
- Success response confirming the second reminder was marked as sent
POST
/billing/invoices/{id}/mark-second-reminder-as-sentAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstring<uuid>requiredInvoice ID (UUID)
Responses
200Second reminder marked as sent successfully
successbooleanrequiredOperation success flag
400Invoice cannot have reminder marked as sent
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
404Invoice not found
Request
curl -X POST "https://leadtime.app/api/public/billing/invoices/%3Cuuid%3E/mark-second-reminder-as-sent" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/billing/invoices/%3Cuuid%3E/mark-second-reminder-as-sent", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.post(
"https://leadtime.app/api/public/billing/invoices/%3Cuuid%3E/mark-second-reminder-as-sent",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"success": true
}Invoice cannot have reminder marked as sent
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions
Invoice not found