sendgrid / sendgrid-php

The Official Twilio SendGrid PHP API Library
https://sendgrid.com
MIT License
1.49k stars 624 forks source link

Querying endpoints that require an ID using fluent interface #1037

Closed callum-ez closed 3 years ago

callum-ez commented 3 years ago

This is quite a simple question but I couldn't see it mentioned in the docs and playing around in the code to find something hasn't proven successful. Is it possible to make a request to e.g. the "/asm/groups/{group_id}/suppressions" endpoint using the fluent interface? Or for such endpoints are we forced to use the classical interface?

thinkingserious commented 3 years ago

Hello @callum-ez,

Yes you can :) Please see the documentation here. Thank you!

With best regards,

Elmer