SendGrid
Connect SendGrid to Ploy to see every teammate on your SendGrid account and whether each one is the account owner, an Admin or a teammate with limited permissions. Ploy can also invite teammates, make a teammate an Admin, set a teammate's permissions and remove teammates.
This integration is in beta
The SendGrid integration is in beta. It was built from SendGrid's API documentation and has not yet been checked against a live SendGrid account, so some details may need adjusting once customers connect it. Beta does not limit what the integration can do.
The first step of setup is a consent checkbox. Ticking it lets Ploy capture redacted error data when a request to SendGrid fails: the error response SendGrid sends back, with personal details, tokens and other secrets removed. Ploy uses it only to fix problems with this integration. You must tick the box to continue.
What Ploy reads
Every teammate on the connected SendGrid account, with their name, email address and username
Each teammate's access level: Owner (the account itself), Admin (every permission) or Teammate (a chosen list of permissions)
Whether a teammate signs in with single sign-on
Ploy does not read invitations that have not been accepted yet, each teammate's individual permission list, subusers, or API keys. A teammate appears in Ploy once they accept their invitation. SendGrid has no way to suspend a teammate, so a teammate removed in SendGrid loses their access in Ploy on the next scan.
What Ploy can change
Invite a teammate. By email, either as an Admin or as a teammate with the permission scopes you list (for example
mail.send, stats.read). SendGrid emails the invitation, which is valid for about 7 days. Inviting someone who is already a teammate, or already invited, counts as done. Ploy never chooses permissions for someone, so an invitation needs either Admin or a list of scopes.Make a teammate an Admin. From a flow, or by giving the Admin access level on the SendGrid app in Ploy.
Set a teammate's permissions. From a flow, with the full list of scopes they should have. SendGrid replaces their whole list with the one you send.
Remove a teammate. Removing someone who is already gone counts as done. The account owner cannot be removed or changed.
Ploy does not take Admin away on its own, because SendGrid then needs the exact permissions the person should keep. Set their permissions from a flow instead, or change them in SendGrid.
Before you start
You need to sign in to SendGrid as the account owner or as an Admin teammate. Only they can invite, change and remove teammates, so a key created by anyone else lets Ploy read teammates but not change them.
In SendGrid, open Settings, then API Keys.
Click Create API Key, give it a name such as Ploy, and choose Full Access.
Copy the key. SendGrid shows it only once, and it can be longer than 69 characters, so copy all of it.
Note whether your account uses EU data residency. Most accounts are Global.
Connect SendGrid
In Ploy, open Integrations, find SendGrid and click Connect.
Tick the beta consent checkbox.
Select your SendGrid region: Global or European Union.
Paste the API key.
Click Test connection, then save.
A key belongs to one SendGrid account. To scan another account, add another connection. Ploy reads the teammates of the parent account; teammates created inside a subuser are not read.
Troubleshooting
SendGrid refused that API key: check the key was copied in full and has not been deleted under Settings, API Keys, and that the region matches your account.
SendGrid accepted the key but refused to list teammates: create the key while signed in as the account owner or an Admin teammate, with Full Access. SendGrid also refuses requests for a while after many failed ones, so wait a few minutes and try again.
Inviting a teammate fails with a message about scopes: each scope looks like
mail.sendortemplates.read. Check the spelling against SendGrid's list of API key permissions, or invite the person as an Admin.Plan limits: SendGrid's Free and Essentials plans allow only one teammate, so invitations fail on those plans.