Creating custom pages

Greetings team!

I’m trying to customize the My Account section — specifically, intercept the Newsletter click to make a third-party API call.
We’re following this documentation => GitHub - vtex-apps/my-account · GitHub

How should I proceed in this case?

Thanks in advance (;

Hello Eduardo, how are you?

Just to confirm I understood correctly: within the My Account page, in your store, you want to make a button available for the customer to subscribe to your Newsletter, and when the customer clicks this button, a third-party API should be called?

Thanks!
Gabriel Cardoso Bertolucci
Field Software Engineer | VTEX

Hi Gabriel
All good, thanks!

Exactly!
The checkbox is already there, it’s native.
We need to intercept that click