Menu

Expand
Rate this page:

Account Provisioning API: Account Operations

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 account operations allow you to create, retrieve, and authenticate customer accounts.

List Accounts

The List Accounts operation allows you to retrieve all customer accounts belonging to your reseller account. Accounts are returned with their account IDs, email addresses, and account creation and update information.

This endpoint returns 10 results per request by default. You can receive a maximum of 100 results per request by setting the limit query parameter. If you have more than 100 customer accounts, you can use the offset and limit query parameters to iterate through your accounts in successive API calls to the endpoint.

GET /v3/partners/accounts

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

Retrieves all accounts under the organization.

Authentication

  • API Key

Headers

Authorization
string
default: Bearer <<YOUR_API_KEY_HERE>>
required

Query String

offset
string

The last item successfully retrieved

default: None
limit
integer

The number of items to return

default: 10

Responses

object
accounts
array[object]

List of account objects.

id
string

Twilio SendGrid account ID

created_at
string

Timestamp indicating when the account was created. Format is RFC3339

format: date-time
pages
object
last
string

The last item returned

example
object
errors
array[object]
required
message
string

The message representing the error from the API.

field
string

The field associated with the error.

error_id
string

ID representing the error as a unique nubmer.

object
errors
array[object]
message
string

The message representing the error from the API.

field
string

The field associated with the error.

error_id
string

ID representing the error as a unique nubmer.

object
errors
array[object]
message
string

The message representing the error from the API.

field
string

The field associated with the error.

error_id
string

ID representing the error as a unique nubmer.

object
errors
array[object]
message
string

The message representing the error from the API.

field
string

The field associated with the error.

error_id
string

ID representing the error as a unique nubmer.

        
        
        

        List all customer accounts

        Rate this page:

        Need some help?

        We all do sometimes. Get help now from the Twilio SendGrid Support Team.

        Running into a coding hurdle? Lean on the wisdom of the crowd by browsing the SendGrid tag on Stack Overflow or visiting Twilio's Stack Overflow Collective.

              
              
              

              Thank you for your feedback!

              Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

              Sending your feedback...
              🎉 Thank you for your feedback!
              Something went wrong. Please try again.

              Thanks for your feedback!

              thanks-feedback-gif