Embeddable Components
Embeddable Components enable platforms and marketplaces to integrate EasyPost’s pre-built UI experiences directly within their applications.
A temporary session ID is obtained through the embeddables/session endpoint to initialize each embedded component.
Note: A Forge-enabled EasyPost account is required to create and initialize embeddable component sessions.
object
string
Always returns "EmbeddablesSession".
session_id
string
Short-lived, one-time-use token that authorizes an Embeddables Components session. Must be provided to the client-side Embeddables script to initialize the component.
created_at
timestamp
ISO 8601 timestamp indicating when the session was created.
expires_at
timestamp
ISO 8601 timestamp indicating when the session expires.
EmbeddablesSession Object
{
"object": "EmbeddablesSession",
"session_id": "emb_ses_123456789",
"created_at": "2025-10-28T15:00:00Z",
"expires_at": "2025-10-28T15:05:00Z"
}Production OnlyThis call will only work with your Production API Key.
The embeddables/session endpoint creates a temporary session for initializing embeddable components.
This session is requested from EasyPost’s API by the platform’s server using its production API key.
For detailed implementation steps and sample code, see the Embeddable Components Guide.