Twilio SendGrid Account Provisioning API
The Twilio SendGrid Account Provisioning API provides a platform for Twilio SendGrid resellers to manage their customer accounts. This API is for companies…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Twilio SendGrid Account Provisioning API provides a platform for Twilio SendGrid resellers to manage their customer accounts. 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.
Endpoints 9
Account
- GETGet all accounts
/v3/partners/accounts?offset=sg2a2bcd3ef4ab5c67d8efab91c01de2fa&limit=2Retrieves all accounts under the organization. - POSTCreate an account
/v3/partners/accountsCreates a new account, with specified offering, under the organization. - DELETEDelete an account
/v3/partners/accounts/:accountIDDelete a specific account under your organization by account ID. Note that this is an irreversible action that does the following: Revokes API Keys and SSO so… - POSTAuthenticate an account with single sign on
/v3/partners/accounts/:accountID/ssoAuthenticates and logs in a user to Twilio Sendgrid as a specific admin identity configured for SSO by partner. Any additional teammates or subusers will need…
Account State
- GETGet an account's state
/v3/partners/accounts/:accountID/stateRetrieve the state of the specified account. - PUTUpdate an account's state
/v3/partners/accounts/:accountID/stateUpdate the state of the specified account.
Offering
- GETGet account offerings
/v3/partners/accounts/:accountID/offeringsRetrieves offering information about the specified account. - PUTUpdate account offerings
/v3/partners/accounts/:accountID/offeringsChanges a package offering for the specified account. Please note that an account can have only one package offering. Also associates one or more add-on… - GETGet all available offerings
/v3/partners/offeringsRetrieves offerings available under the organization.
API details
- Base URL
https://api.sendgrid.comhttps://api.eu.sendgrid.com- Authentication
- A bearer token in the Authorization header
- Operations
- 9 operations on 6 pathsGET 4PUT 2POST 2DELETE 1
- Main resources
- Account 4Offering 3Account State 2
- Response formats
application/json- Description format
- OpenAPI 3.1.0, API version
1.0.0 - Links
- Documentation · OpenAPI document · Terms of service · Support
How to test the Twilio SendGrid Account Provisioning API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Twilio SendGrid Account Provisioning API collection, without the publisher's secrets.
- Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Get all accounts” (GET /v3/partners/accounts?offset=sg2a2bcd3ef4ab5c67d8efab91c01de2fa&limit=2), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Twilio SendGrid Account Provisioning API?
The Twilio SendGrid Account Provisioning API provides a platform for Twilio SendGrid resellers to manage their customer accounts. This API is for companies… It is listed under Communication and has 9 endpoints.
Who publishes the Twilio SendGrid Account Provisioning API?
It is listed from SendGrid's public API description (an OpenAPI document), not published by SendGrid on Swastik Codes. Anyone who controls sendgrid.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Twilio SendGrid Account Provisioning API?
Its description lists 2 base URLs: https://api.sendgrid.com, https://api.eu.sendgrid.com. The first is the usual one; the others are typically sandbox or regional servers.
How do I authenticate with the Twilio SendGrid Account Provisioning API?
With A bearer token in the Authorization header.
How many endpoints does the Twilio SendGrid Account Provisioning API have?
9 operations on 6 paths (4 GET, 2 PUT, 2 POST, 1 DELETE). The largest groups are Account, Offering, Account State.
Is forking the Twilio SendGrid Account Provisioning API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.