Master account

Create an API key for a sub-account

This endpoint will generate an API v3 key for a sub account

post/corporate/subAccount/key

Request

  • Base URL: https://api.brevo.com/v3
  • URL: https://api.brevo.com/v3/corporate/subAccount/key
  • Auth: one of:
    • API key in header api-key
    • API key in header partner-key

Request body

idinteger required

Id of the sub-account organization

namestring

Name of the API key

Example request

{
  "id": 2333323,
  "name": "My Api Key"
}

Response

API Key

statusstring

Status of the API operation.

keystring

API Key

Changes

No recorded changes to this operation across all 2 revisions of this API.