Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

v3 API PHP Code Example


(information)

Info

We recommend using Twilio SendGrid PHP, our client library, available on GitHub(link takes you to an external page), with full documentation.

(information)

Info

Do you have an API Key(link takes you to an external page) yet? If not, go get one. You're going to need it to integrate!

Make sure you've set the SENDGRID_API_KEY(link takes you to an external page) environment variable in your env file.


Using Twilio SendGrid's PHP Library

using-twilio-sendgrids-php-library page anchor

Please see the Twilio SendGrid PHP example code at GitHub(link takes you to an external page).


Rate this page: