Create an embed session
Changed onMint a single-use embed URL for a signer created with embedded: true. Load the URL in an iframe on one of the workspace's embed origins within 5 minutes; opening it spends the token, so mint a fresh one each time the signer opens the page. The signer's access code is never returned. Refused with 400 (embed_not_enabled_for_signer) for a signer that is not embedded, 409 when the signer already finished (already_signed), the document is still being uploaded or processed (document_not_ready: retry in a moment), the document can no longer be signed or the signer's step has not started (document_unavailable), or the workspace has no embed origin (embed_origins_missing), 403 with code PlanRestricted when the plan does not include embedded signing, and 429 after 30 sessions for one signer in an hour.
Request
- Base URLhttps://api.assinafy.com.br
- Auth
- HTTP bearer
- or API key in header X-Api-Key
Path parameters
Document ID.
The assignment ID.
The signer ID.
Response
The embed session
Example response
{
"status": 200,
"data": {
"url": "https://app.assinafy.com.br/embed/3f2c9a1e5b7d4c68a0e1f2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f7",
"expires_at": "2026-11-04T12:05:00Z"
}
}Changes
- info
endpoint added
- info