Twilio SendGrid API Keys API
The Twilio SendGrid API Keys API allows you manage your API keys and their settings. Your application, mail client, or website can all use API keys to…
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 API Keys API allows you manage your API keys and their settings. Your application, mail client, or website can all use API keys to authenticate access to SendGrid services.
To create your initial SendGrid API Key, you should use the SendGrid application user interface. Once you have created a first key with scopes to manage additional API keys, you can use this API for all other key management.
Endpoints 6
API Keys
- GETRetrieve all API Keys belonging to the authenticated user
/v3/api_keys?limit=0This endpoint allows you to retrieve all API Keys that belong to the authenticated user. A successful response from this API will include all available API… - POSTCreate API keys
/v3/api_keysThis endpoint allows you to create a new API Key for the user. To create your initial SendGrid API Key, you should use the SendGrid App. Once you have created… - GETRetrieve an existing API Key
/v3/api_keys/:api_key_idThis endpoint allows you to retrieve a single API key using an api_key_id. The endpoint will return a key's name, ID, and scopes. If the API Key ID does not,… - PUTUpdate API key name and scopes
/v3/api_keys/:api_key_idThis endpoint allows you to update the name and scopes of a given API key. You must pass this endpoint a JSON request body with a name field and a scopes… - DELETEDelete API keys
/v3/api_keys/:api_key_idThis endpoint allows you to revoke an existing API Key using an api_key_id Authentications using a revoked API Key will fail after after some small… - PATCHUpdate API key name
/v3/api_keys/:api_key_idThis endpoint allows you to update the name of an existing API Key. You must pass this endpoint a JSON request body with a name property, which will be used…
API details
- Base URL
https://api.sendgrid.comhttps://api.eu.sendgrid.com- Authentication
- A bearer token in the Authorization header
- Operations
- 6 operations on 2 pathsGET 2PUT 1POST 1PATCH 1DELETE 1
- Main resources
- API Keys 6
- 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 API Keys 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 API Keys 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 “Retrieve all API Keys belonging to the authenticated user” (GET /v3/api_keys?limit=0), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Twilio SendGrid API Keys API?
The Twilio SendGrid API Keys API allows you manage your API keys and their settings. Your application, mail client, or website can all use API keys to… It is listed under Communication and has 6 endpoints.
Who publishes the Twilio SendGrid API Keys 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 API Keys 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 API Keys API?
With A bearer token in the Authorization header.
How many endpoints does the Twilio SendGrid API Keys API have?
6 operations on 2 paths (2 GET, 1 PUT, 1 POST, 1 PATCH, 1 DELETE). The largest groups are API Keys.
Is forking the Twilio SendGrid API Keys API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.