---
title: "embed.session_generated"
method: POST
path: "embed.session_generated"
tags: ["Event Types"]
---

# embed.session_generated

`POST embed.session_generated` (webhook)

Occurs when a card embed session is successfully generated.

## Payload

- object — Notification that a card embed session was successfully generated.
  - `event_type` 'embed.session_generated', required — The type of event
  - `session_id` string, uuid, required — The identifier shared by webhook events for the same embed session.
  - `card_token` string, uuid, required — The token of the card associated with the embed session
  - `account_token` string, uuid, required — The token of the account associated with the card
  - `session_type` 'CARD_EMBED' | 'PIN_SETTING_EMBED', required — The type of embed session that was generated
  - `device_details` EmbedDeviceDetails, required — Device details about the request associated with an embed webhook event.
    - `ip_address` string, required — The IP address recorded for the request that generated the event

## Acknowledgement `200`

Return a 200 status to indicate that the data was received successfully

---

[API](https://skmtc.net/lithic-com/apis/lithic-developer-api.md) · [All operations](https://skmtc.net/lithic-com/apis/lithic-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lithic-com/lithic-developer-api/versions/53ab5d4e2adb/schema)
