masterAccount

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

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

Request body

emailstring

User email of sub-account organization

idinteger required

Id of the 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 Senders 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

Response

Session token

tokenstring required

Session token, it will remain valid for 15 days.

Changes

No recorded changes to this operation across all 1 revision of this API.