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

Get Account Offerings



API Overview

api-overview page anchor

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(link takes you to an external page).

The Account Provisioning API offering operations allow you to update and list Twilio SendGrid features or offerings available for your customer accounts.

The Get Account Offerings operation allows you to retrieve the offerings assigned to a specific customer account. Offerings are Twilio SendGrid features or offerings such as a dedicated IP address or Marketing Campaigns package. Offerings can be added to or removed from a customer account using the Update Account Offerings operation.


GET/v3/partners/accounts/{accountID}/offerings

Base url: https://api.sendgrid.com

Retrieves offering information about the specified account.


Authentication

authentication page anchor
Authorizationstringrequired
Default: Bearer <<YOUR_API_KEY_HERE>>
accountIDstringrequired

Twilio SendGrid account ID

200400401403404

OK

Schema
offeringsarray[object]

Get offerings for a specific customer account

get-offerings-for-a-specific-customer-account page anchor
Node.js
Python
C#
Java
Go
PHP
Ruby
curl

_19
const client = require('@sendgrid/client');
_19
client.setApiKey(process.env.SENDGRID_API_KEY);
_19
_19
const accountID = "ZGkrHSypTsudrGkmdpJJ";
_19
_19
const request = {
_19
url: `/v3/partners/accounts/${accountID}/offerings`,
_19
method: 'GET',
_19
_19
}
_19
_19
client.request(request)
_19
.then(([response, body]) => {
_19
console.log(response.statusCode);
_19
console.log(response.body);
_19
})
_19
.catch(error => {
_19
console.error(error);
_19
});


Rate this page: