Embedded Signing
Exchange an embed session
Changed onCalled by Assinafy's embed page, not by integrations. Public: the token is the credential. Trades a session token for the signer's access code, once; the token is spent even when the call is refused with 409. An unknown, expired or already used token returns 410 with code embed_session_invalid. Returns 409 when the signer or document can no longer sign.
post/v1/embed/sessions/{token}/exchange
Request
- Base URLhttps://api.assinafy.com.br
- Authnone required
Path parameters
tokenstring required
The 64-character session token from the embed URL.
Request body
Example request
{
"parent_origin": "https://app.example.com"
}Response
The signing session
Example response
{
"status": 200,
"data": {
"signer_id": "6f1c2a9e0b",
"document_id": "5e0b1c2a9f",
"verification_method": "Email",
"embed_origins": [
"https://app.example.com"
]
}
}Changes
- info
endpoint added
- info