The Twilio SendGrid Account Provisioning API provides a platform for Twilio SendGrid resellers to manage their customers. This API is for companies that have a formal reseller partnership with Twilio SendGrid.
You can access Twilio SendGrid sub-account functionality without becoming a reseller. If you require sub-account functionality, see the Twilio SendGrid Subusers feature, which is available with Pro and Premier plans.
The Account Provisioning API offering operations allow you to update and list Twilio SendGrid features or offerings available for your customer accounts.
The List Offerings operation returns all the Twilio SendGrid features or offerings available to a reseller account. These offerings can be assigned to the reseller's customer accounts when creating a new customer account with the Create Account operation. Offerings can be added to or removed from a customer account using the Update Account Offerings operation.
Because the available offerings will change infrequently, you may wish to cache the List Offerings response rather than call the endpoint before each account creation or update.
Retrieves offerings available under the organization.
Bearer <<YOUR_API_KEY_HERE>>
OK
1const client = require("@sendgrid/client");2client.setApiKey(process.env.SENDGRID_API_KEY);34const request = {5url: `/v3/partners/offerings`,6method: "GET",7};89client10.request(request)11.then(([response, body]) => {12console.log(response.statusCode);13console.log(response.body);14})15.catch((error) => {16console.error(error);17});