Skip to content

GDPR field checked via API?

edited June 2018 in Using Sendy

Hello.

We're looking to subscribe people via a simple email form + a checkbox for GDPR. How would we achieve this using the API? We know how to do it in a simple manner (without the GDPR checkbox), but don't want to use the pre-built form.

Let us know.

Thanks.

Comments

  • BenBen
    edited June 2018

    Hi,

    You can pass "true" to the new gdpr flag in the 'subscribe' API call:

    Screenshot:

    https://sendy.co/api

    Thanks.

    Best regards,
    Ben

  • Perfect, that's what we were looking for. Thanks Ben, you're the best!

This discussion has been closed.