Get the emails of a booking page
GET /booking_pages/{uuid}/email_settings
/booking_pages/{uuid}/email_settingsReturns the sender, sender name and subjects of the two emails a booking page sends to the people who book, and whether each uses the default design.
When to use: To check that a page has a sender that can send (needed to publish), or to read the subjects and the revisions needed by update_booking_email_settings and restore_booking_email_default.
When not to use: The design of the emails (Beefree) is edited in the app and not exposed here. To choose a sender, first list the usable ones with list_booking_email_senders.
Permissions: Requires a CRM seat and the crm.contacts_companies.write capability. Booking pages have no separate read permission, so it is also required to read. Pages belong to the user who owns the token: each user manages only their own pages, and a page of another user is answered as not found.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the booking page. Get it from list_booking_pages.
uuidResponse Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/booking_pages/b4d2c7a1-8e35-4f60-9a12-3c5e7d9f1b84/email_settings" \ -H "X-Auth-Token: YOUR_API_KEY"{ "sender": "string", "sender_email": "string", "sender_name": "string", "default_sender_name": "string", "sender_mode": "direct", "effective_sender": { "source": "selected", "email": "string" }, "emails": { "confirmation": { "persisted": true, "locale": "string", "subject": "string", "content_revision": "string", "updated_at": "2019-08-24T14:15:22Z", "default": true }, "data_check": { "persisted": true, "locale": "string", "subject": "string", "content_revision": "string", "updated_at": "2019-08-24T14:15:22Z", "default": true } }, "settings_revision": "string"}