---
title: "Create an embed token."
method: POST
path: "/Embed/token"
tags: ["Embedded Components"]
---

# Create an embed token.

`POST /Embed/token`

## Request

- Base URL: `https://partners.staging-youlendapi.com/onboarding`
- URL: `https://partners.staging-youlendapi.com/onboarding/Embed/token`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://youlend-stag.eu.auth0.com/oauth/token`

## Headers

- `api-version` string

## Request body

- GetTokenRequestModel
  - `thirdPartyCustomerId` string, required: Your unique identifier for this merchant.

## Response `200`

OK

- Auth0TokenResponse
  - `accessToken` string, nullable
  - `expiresIn` integer
  - `tokenType` string, nullable

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/youlend/apis/onboarding.md) - [All operations](https://skmtc.dev/youlend/apis/onboarding/llms.txt) - [OpenAPI document](https://skmtc.dev/youlend/apis/onboarding/revisions/32aa9c8d752a?raw)
