Create API keys
POST https://api.sendgrid.com/v3/api_keys
This endpoint allows you to create a new random API Key for the user.
A JSON request body containing a name
property is required. If number of maximum keys is reached, HTTP 403 will be returned.
There is a limit of 100 API Keys on your account.
The API Keys feature allows customers to be able to generate an API Key credential which can be used for authentication with the SendGrid v3 Web API or the Mail API Endpoint.
See the API Key Permissions List for a list of all available scopes.
When updating a key to include
user
orsubuser
scopes, use basic authenitcation.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Content-Type | string |