v1

latestSwagger 2.0MIT2026-07-17233380637.0 KB
Master account

Generate SSO token to access sub-account

This endpoint generates an sso token to authenticate and access a sub-account of the master using the account endpoint https://account-app.brevo.com/account/login/sub-account/sso/[token], where [token] will be replaced by the actual token.

post/corporate/subAccount/ssoToken

Request body

idinteger required

Id of the sub-account organization

emailstring

User email of sub-account organization

target'automation' | 'email_campaign' | 'contacts' | 'landing_pages' | 'email_transactional' | 'senders' | 'sms_campaign' | 'sms_transactional'

Set target after login success

  • automation - Redirect to Automation after login
  • email_campaign - Redirect to Email Campaign after login
  • contacts - Redirect to Contacts after login
  • landing_pages - Redirect to Landing Pages after login
  • email_transactional - Redirect to Email Transactional after login
  • senders - Redirect to Contacts after login
  • sms_campaign - Redirect to Sms Campaign after login
  • sms_transactional - Redirect to Sms Transactional after login
urlstring

Set the full target URL after login success. The user will land directly on this target URL after login

Example request

{
  "id": 2333323,
  "email": "vipin+subaccount@brevo.com",
  "target": "contacts",
  "url": "https://app.brevo.com/senders/domain/list"
}

Response

Session token

tokenstring required

Session token, it will remain valid for 15 days.

Example response

{
  "token": "ede520dxxxxxxxxxxxx76d631fba2"
}