Execute Custom Action
Execute a custom action when a customer clicks a custom button in email. Receives the customer’s email and the action ID to process any custom business logic.
Authorizations
Zaymo will authenticate requests using the API key you provide
Body
Custom action request with customer email and action identifier
The email address of the customer who clicked the button
"customer@example.com"
Unique identifier for the specific action that was triggered. You can use any action_id that makes sense for your business. Example action_ids: 'claim_discount_10off', 'join_waitlist_product_123', 'change_to_quarterly', 'register_webinar_march'
"claim_discount_10off"
Response
Custom action executed successfully
Indicates if the custom action was executed successfully
true