POST /corporate/subAccount/ssoToken

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.

Options

Body

Request body which must comply to the following JSON Schema:

{
  "required" : [ "id" ],
  "type" : "object",
  "properties" : {
    "id" : {
      "type" : "integer",
      "description" : "Id of the sub-account organization",
      "format" : "int64",
      "example" : 3232323
    },
    "email" : {
      "type" : "string",
      "description" : "User email of sub-account organization",
      "example" : "vipin+subaccount@brevo.com"
    },
    "target" : {
      "type" : "string",
      "description" : "**Set target after login success**\n* **automation** - Redirect to Automation after login\n* **email_campaign** - Redirect to Email Campaign after login\n* **contacts** - Redirect to Contacts after login\n* **landing_pages** - Redirect to Landing Pages after login\n* **email_transactional** - Redirect to Email Transactional after login\n* **senders** - Redirect to Senders after login\n* **sms_campaign** - Redirect to Sms Campaign after login\n* **sms_transactional** - Redirect to Sms Transactional after login\n",
      "example" : "contacts",
      "enum" : [ "automation", "email_campaign", "contacts", "landing_pages", "email_transactional", "senders", "sms_campaign", "sms_transactional" ]
    },
    "url" : {
      "type" : "string",
      "description" : "Set the full target URL after login success. The user will land directly on this target URL after login",
      "example" : "https://app.brevo.com/senders/domain/list"
    }
  }
}
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.