provider Teammates POST
/teammates @utdk/sendgrid
/teammates Invite teammate
**This endpoint allows you to invite a Teammate to your account via email.**
You can set a Teammate's initial permissions using the `scopes` array in the request body. Teammate's will receive a minimum set of scopes from Twilio SendGrid that are necessary for the Teammate to function.
**Note:** A teammate invite will expire after 7 days, but you may resend the invitation at any time to reset the expiration date.
- on-behalf-of header
- string
Try it
Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sendgrid from '@utdk/sendgrid';
await sendgrid.postV3Teammates({
"on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call.",
"is_admin": false
})