---
title: "Get session token to access Brevo (SSO)"
method: GET
path: "/reseller/children/{childIdentifier}/auth"
tags: ["Reseller"]
---

# Get session token to access Brevo (SSO)

`GET /reseller/children/{childIdentifier}/auth`

## Request

- Base URL: `https://api.brevo.com/v3`
- URL: `https://api.brevo.com/v3/reseller/children/{childIdentifier}/auth`
- Auth: one of:
  - API key in header `api-key`
  - API key in header `partner-key`
- TypeScript: <https://skmtc.dev/getbrevo/apis/brevo-api/docs/reseller/children/:childIdentifier/auth/get.ts> (a function with typed inputs; its response is checked against the schema)

It returns a session [token] which will remain valid for a short period of time. A child account will be able to access a white-labeled section by using the following url pattern => https:/email.mydomain.com/login/sso?token=[token]

## Path parameters

- `childIdentifier` string, required

## Response `200`

Session token

- GetSsoToken
  - `token` string, required: Session token, it will remain valid for 15 days.

## Other responses

- `400`: bad request
- `403`: Current account is not a reseller
- `404`: Child auth key or child id not found

---

[API](https://skmtc.dev/getbrevo/apis/brevo-api.md) - [All operations](https://skmtc.dev/getbrevo/apis/brevo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getbrevo/apis/brevo-api/revisions/2aec3cf66501?raw)
