Having trouble setting a logo or booking confirmed text in schedular email template

Hi all,

I’m trying to set a logo in the email template. I don’t want to change the text and have tried omitting body and title as well, but the booking_confirmed data never persists.

My payload is

payload = {
            "requires_session_auth": requires_session_auth,
            "participants": [
                {
                    "name": organizer_name,
                    "email": organizer_email,
                    "is_organizer": True,
                    "availability": participant_availability,
                    "booking": {
                        "calendar_id": "primary",
                    },
                }
            ],
            "availability": {
                "duration_minutes": duration_minutes,
            },
            "event_booking": {
                "title": title,
                "conferencing": {
                    "provider": "Google Meet",
                    "autocreate": {},
                },
            },
            "scheduler": {
                "email_template": {
                    "booking_confirmed": {
                        "title": "test",
                        "body": "test",
                        "logo": "https://breww-assets.fra1.cdn.digitaloceanspaces.com/logos/logo-dark-email.png"
                    }
                }
            },
        }

I’ve also tried:

"email_template": {
        "logo": "https://www.example.com/logo"
      }

Posting to v3/grants/{grant_id}/scheduling/configurations

Then when queried:

[
    {
        ...
        'scheduler': {
            'available_days_in_future': 30,
            'min_cancellation_notice': 0,
            'min_booking_notice': 720,
            'rescheduling_url': 'https://book.nylas.com/eu/reschedule/:booking_ref',
            'cancellation_url': 'https://book.nylas.com/eu/cancel/:booking_ref',
            'hide_rescheduling_options': False,
            'hide_cancellation_options': False,
            'email_template': {'booking_confirmed': {}}
        },
        'appearance': None
    }
]

Hello,

Per the API documentation, the correct structure should be:
{ "scheduler": { "email_template": { "logo": "``https://www.example.com/logo``", "booking_confirmed": { "title": "Your booking is confirmed", "body": "Looking forward to meeting with you" }, "show_nylas_branding": false } } }

Note: logo is at the email_template level, not inside booking_confirmed.

Please let me know if you need any clarification.

Many thanks,
Samuel R.
Support Engineer, Nylas

Thank you, it’s working now. I did try this as well but didn’t include “show_nylas_branding” before, so maybe that changes things.

Thank you!