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);345const request = {6url: `/v3/partners/offerings`,7method: 'GET',89}1011client.request(request)12.then(([response, body]) => {13console.log(response.statusCode);14console.log(response.body);15})16.catch(error => {17console.error(error);18});