improved

The signature link's expiration date can now be retrieved

When a Signature Request is activated or when a GET /Signer request is done, the Signature Link is included in the response payload. The Signature Link's expiration date is now included.

{
    "id": "ee1d9413-ce72-4c25-a294-fcf20cf34a26",
    "status": "ongoing",
    "name": "The name of your Signature Request",
    "created_at": "2023-01-03T10:40:00+00:00",
    "email_custom_note": "",
    "ordered_signers": false,
    "timezone": "Europe/Paris",
    "reminder_settings": null,
    "expiration_date": "2023-07-03T21:59:00+00:00",
    "signers": [
        {
            "id": "50c35490-bc04-493c-98da-7a0ac493744a",
            "status": "notified",
            "signature_link": "https://yousign.app/signatures/ee1d9413-ce72-4c25-a294-fcf20cf34a26?s=846991a748d97f86dd77az99ac23def97f8197ca0d93c2395b7&r=e8abd212f99bde967e37bb7deb4a3fdf&source=email&lang=fr&magic_link_id=b192a9f2-1071-4829-b2bc-d2a964402ec0&domain_id=c9cb0951a3&k=rnEV1JFOpbIWCtQ3gRcOAxXCkTMFxPfn",
            "signature_link_expiration_date": "2023-05-05T09:28:57+00:00"
        }
    ],
    "approvers": [],
    "documents": [
        {
            "id": "b9a7e6f1-c633-4305-b5b9-c36a592c0cb0",
            "nature": "signable_document"
        }
    ],
    "delivery_mode": "none",
    "external_id": null,
    "custom_experience_id": null,
    "sender": null
}
{
    "id": "27b4bf2a-ea9d-49bd-b3bd-0994fa89c07f",
    "info": {
        "first_name": "John",
        "last_name": "Doe",
        "email": "[email protected]",
        "phone_number": "+33700000000",
        "locale": "fr"
    },
    "status": "notified",
    "signature_link": "https://yousign.app/signatures/31fb6143-7d56-4a18-b1b1-1c641c02fd66?s=27b51f5d768861bea81ecdc8428e6deedce90936b7e59334cae4cfd6ee1759106cd78407d387e42dcc2fe70f3abbc7535b0eabc3624cc256bef928997170d2c7&r=d7cc980c7e0ae81df5fdfcfce9ab83ff&source=email&lang=fr&magic_link_id=4cdb4efb-8444-4dfc-a4e9-d426e3175eca&domain_id=4c52ed4612&k=JiBLPjes3UHySd9AImyVustBIXA67cGZ&sandbox=true",
    "signature_link_expiration_date": "2023-05-05T09:28:57+00:00",
    "signature_image_preview": "https://api-sandbox.yousign.app/signature_requests/31fb6143-7d56-4a18-b1b1-1c641c02fd66/recipients/27b4bf2a-ea9d-49bd-b3bd-0994fa89c07f/preview.8c1e958b7a4b98845d6cc1cf81c45341c2312161.svg",
    "fields": [
        {
            "id": "ca4647f0-5afe-4b66-808d-0a6c5c1cdd9b",
            "document_id": "b39677bf-86e6-421e-b44e-64ee8085862a",
            "type": "signature",
            "page": 1,
            "x": 400,
            "y": 650,
            "width": 180,
            "height": 37
        }
    ],
    "signature_level": "electronic_signature",
    "signature_authentication_mode": "otp_sms",
    "redirect_urls": {
        "success": null,
        "error": null
    },
    "custom_text": {
        "request_subject": null,
        "request_body": null,
        "reminder_subject": null,
        "reminder_body": null
    }
}