iframe_url, session_key, iframe_session_id, document_id, and expires_at; this iframe-session creation response does not expose the agency iframe allowlist, brand payload, allowed_origin, or redirect_url.brand_iframe_allowed_urls). The session can only be created for a draft document and expires after 60 minutes.POST /documents/ with no template_id. For template drafts, call POST /documents/ with template_id and optional recipient role overrides.iframe_url in an iframe in the partner application. Do not append session_key to the iframe URL.realaml.esign.ready to the parent window. The parent must verify the iframe origin and source, then send { type: "realaml.esign.session_key", session_key } to the iframe using postMessage with the exact RealAML app origin as targetOrigin.session_key and the parent message origin for an iframe-scoped bearer token. RealAML validates that parent origin against the agency admin iframe domain allowlist.realaml.esign.document_sent to the parent window. Event payload: document_id, status, sent_at, and iframe_session_id.realaml.esign.session_expired to the parent window. Event payload can include document_id, iframe_session_id, expires_at, and message when known.GET /documents/{envelope_id}/ or configured webhooks/callbacks for terminal completion state; the iframe send event only means sending was accepted and recipient notification processing started.curl --location --request POST '/esign/documents//iframe-session/' \
--header 'Authorization: <api-key>'{
"iframe_session_id": "dcdee395-4335-45c8-ae30-12a2738d2982",
"document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",
"iframe_url": "http://example.com",
"session_key": "string",
"expires_at": "2019-08-24T14:15:22.123Z"
}