Authentication
This endpoint requires API key authentication.
Query Parameters
Optional. If provided, sends a test feedback request email to this address instead of to actual users.
Response
Indicates whether the operation was successful
Number of emails sent
Indicates if the endpoint was run in test mode
Status message about the operation
200 OK (Test Mode)
200 OK (Production Mode)
400 Bad Request
401 Unauthorized
Example Usage
Email Template
The feedback request email is designed to solicit feedback from users about their experience with the OnlyAutomator platform. It includes:- Personalized greeting with the user’s first name
- Request for feedback on their experience
- Direct link to a feedback form or survey
- Explanation of how feedback helps improve the service
- Information about future updates based on feedback
- Thank you message
- Support contact information
Implementation Notes
- This endpoint is designed to be called by a scheduled task (cron job)
- When called without a
testEmail
parameter, it will find all users who have been active for at least 14 days - The endpoint ensures users don’t receive feedback requests more than once per month
- The endpoint is rate limited to prevent accidental mass emails
- In production, authentication via API key is required
- Email sending is logged for audit purposes
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Test email address to which the email will be sent