{"info":{"contact":{"email":"api@biglelegal.com"},"description":"Signatures represent a persons name written in a distinctive way as a form of identification in authorizing a document. They have to be build from an existing document.","license":{"name":"","url":""},"termsOfService":"https://www.biglelegal.com/en/terms-and-conditions","title":"Bigle API Signatures","version":"v1.0.30"},"openapi":"3.0.3","paths":{"/status":{"get":{"description":"This endpoint returns the API status. You either get a successful response if the API is active or an error otherway.","summary":"Returns the endpoint status.","operationId":"status","tags":["Status"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"description":"Successful Operation","type":"object","properties":{"environment":{"description":"The Bigle API environment.","type":"string"},"version":{"description":"The Bigle API version.","type":"string"},"requestId":{"description":"The unique request identifier used in the call.","type":"string"}},"example":{"environment":"test","version":"1.0.0","requestId":"hwytillpyyrhokaqsyz"}}}}},"403":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Invalid Authorization"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Invalid Authorization","requestId":"M9Tji4fGugZC1Lt54BUtw1vtOOts8a9r"}}}}},"412":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Internal server error"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Internal server error","requestId":"NAsEVaF42P02WL1RqrcPYBat3n9nS2T7"}}}}}},"security":[{"bearerSecurity":[]}]}},"/{documentUid}/{signatureUid}":{"get":{"description":"This endpoint returns the signature status, signers and events.","summary":"Returns the signature status.","operationId":"getStatus","tags":["Signature"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"description":"Successful Operation","type":"object","properties":{"documentUid":{"description":"A unique identifier of the document that this signature belongs to.","type":"string"},"documentName":{"description":"The signature documents name.","type":"string"},"signatureUid":{"description":"A unique identifier that this signature belongs to.","type":"string"},"creationTime":{"description":"The signature creation time.","type":"string"},"groupUid":{"description":"A unique identifier of the group that this signature belongs to.","type":"string"},"groupName":{"description":"The group name this signature belongs to.","type":"string"},"userUid":{"description":"A unique identifier of the user that this signature belongs to.","type":"string"},"userFullName":{"description":"Name and last name of the user who has created the signature.","type":"string"},"userEmail":{"description":"Email of the user who has created the signature.","type":"string"},"emailSubject":{"description":"Email subject from the email that this signature belongs to.","type":"string"},"emailBody":{"description":"Email body from the email that this signature belongs to.","type":"string"},"status":{"description":"The signature status","type":"string"},"signersList":{"description":"A unique identifier that this document belongs to.","type":"array","items":{"description":"A unique identifier that this document belongs to.","type":"object","properties":{"uid":{"description":"The signers unique identifier.","type":"string"},"email":{"description":"The signers email.","type":"string"},"name":{"description":"The signers name.","type":"string"},"tag":{"description":"The signers signature tag.","type":"string"},"page":{"description":"The signers signature page. (min:1)","format":"double","type":"number"},"posX":{"description":"The signers signature position on X axis.","format":"double","type":"number"},"posY":{"description":"The signers signature position on Y axis.","format":"double","type":"number"},"sizeBoxX":{"description":"The signers signature box size on on X axis. (min:25)","format":"double","type":"number"},"sizeBoxY":{"description":"The signers signature box size on on Y axis. (min:25)","format":"double","type":"number"},"lastName":{"description":"The signers last name.","type":"string"}}}},"signatureEventsList":{"description":"A unique identifier that this document belongs to.","type":"array","items":{"description":"A unique identifier that this document belongs to.","type":"object","properties":{"uid":{"description":"The events unique identifier.","type":"string"},"status":{"description":"The events status.","type":"string"},"email":{"description":"The events email.","type":"string"},"signerUid":{"description":"The events signer unique identifier.","type":"string"},"creationTime":{"description":"The events creation time.","type":"string"}}}},"language":{"description":"The signatures language","type":"string"},"auditAvailable":{"description":"Flag indicating whether the signature has an available audit.","type":"string"},"origin":{"description":"Flag indicating from where the signature was created. For example, via API.","type":"string"}},"example":{"documentUid":"ehtdpxoqmvruxvynrnrr","documentName":"Document name","signatureUid":"qqvdrfkmwzhllpgqjfujww","creationTime":"2021-05-29T12:01:01.296Z","groupUid":"rmctfojzvgpopcrpyhckgp","groupName":"Group name","userUid":"ldkntildrrmckdjhmivlfcjyicua","userFullName":"Jon Dow","userEmail":"email@email.com","emailSubject":"Email subject","emailBody":"Email body","status":"SIGNED","signersList":[{"uid":"apafnhskwetsgmrzlluplypn","email":"email@email.com","name":"Jon","page":1,"posX":15,"posY":15,"sizeBoxX":25,"sizeBoxY":25,"lastName":"Dow"},{"uid":"kkhgceezbzugefzuylgxg","email":"email2@email.com","name":"Jane","tag":"tag","sizeBoxX":25,"sizeBoxY":25,"lastName":"Dow"}],"signatureEventsList":{"uid":"xrtvovjvvjwymlcreapssd","status":"COMPLETE","email":"email@email.com","signerUid":"javbghcehgwqqnqjiuawvrht","creationTime":"2021-05-29T12:01:01.296Z"},"language":"en","auditAvailable":true,"origin":"API"}}}}},"403":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Invalid Authorization"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Invalid Authorization","requestId":"Fsc8z5rhnwCaHHmnoiy1tY681MgtQiF4"}}}}},"412":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Request body should be informed","Signature should be informed","Invalid signature UID","Document should be informed","Invalid document UID","Document details could not be retreived from database","Signature details could not be retreived from database","Signers details could not be retreived from database","Events details could not be retreived from database","User details could not be retreived from database","Group details could not be retreived from database","Document does not exist","Signature does not exist","Signers does not exist","Events does not exist","User does not exist"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Request body should be informed","requestId":"A91O1fJp3ZIcBH06H6t1RJO1emxWdhHO"}}}}}},"security":[{"bearerSecurity":[]}],"parameters":[{"description":"The document identifier. You must indicate the unique identifier of the signatures document that will be returned.","in":"path","name":"documentUid","required":true,"schema":{"description":"The document identifier. You must indicate the unique identifier of the signatures document that will be returned.","type":"string"}},{"description":"The signature identifier. You must indicate the unique identifier of the signature that will be returned.","in":"path","name":"signatureUid","required":true,"schema":{"description":"The signature identifier. You must indicate the unique identifier of the signature that will be returned.","type":"string"}}]}},"/":{"post":{"description":"This endpoint creates a new signature.","summary":"Creates a new signature.","operationId":"sendSignature","tags":["Signature"],"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"description":"Successful Operation","type":"object","properties":{"signatureUid":{"description":"A unique identifier that this document belongs to.","type":"string"}},"example":{"signatureUid":"jpxmsbfgovfdeamcconzfcgn"}}}}},"403":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Invalid Authorization"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Invalid Authorization","requestId":"x7sSn5Xlyv5iXkg36LbDLUhLra6QNuG6"}}}}},"412":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Request body should be informed","Sender should be informed","Invalid sender","Document should be informed","Invalid document UID","Email should be informed","Invalid email","Signers should be informed","Invalid signers","Language should be informed","Invalid language","Email body should be informed","Invalid email body","Email subject should be informed","Invalid email subject","Sender details could not be retreived from database","Document details could not be retreived from database","User sender does not exist","Document does not exist","Access token does not exist","Signature could not be created","Sender user does not have signatures available","Workspace does not have signatures available","Your Workspace cannot use this functionality","Signer email not informed","Invalid signer email","Signer name not informed","Invalid signer name","Invalid signer last name","Invalid signer tag","Invalid signer page","Invalid page number","Invalid posX min value","Invalid signer's signature position X","Invalid posY min value","Invalid signer's signature position Y","Invalid signer's signature size box X min value","Invalid signer's signature size box Y min value","Invalid signer's signature size box X","Invalid signer's signature size box Y","Either tag or page have to be informed","Signer's signature position X not informed","Signer's signature position Y not informed","Invalid signer OTP required","Invalid signer phone","Invalid signer type","Invalid format","OTP is not available for CC signers","Signer phone is required when OTP is enabled"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Request body should be informed","requestId":"LAMrb3Ces6mbD1TG7Guj7cUpULTNjI0k"}}}}}},"security":[{"bearerSecurity":[]}],"requestBody":{"description":"Request body to create a new signature","content":{"application/json":{"schema":{"description":"Request body to create a new signature","type":"object","properties":{"sender":{"description":"The sender email. You must set the email of the user that will send this signature.","type":"string"},"documentUid":{"description":"The document identifier. You must set the unique identifier of the document that will be signed.","type":"string"},"email":{"description":"The email object. In order to set this object, you must fill the subject and body information.","type":"object","properties":{"subject":{"description":"The email topic.","type":"string"},"body":{"description":"The email main text.","type":"string"}}},"signers":{"description":"The list of signers that will receive the signature. You must set the list of signers of the people that will receive this signature. The information of this signers must include the email and name of the signer. It must also include the page and the position of the signature. Optionally, you can set the box signature size and the signer last name.","type":"array","items":{"description":"The list of signers that will receive the signature. You must set the list of signers of the people that will receive this signature. The information of this signers must include the email and name of the signer. It must also include the page and the position of the signature. Optionally, you can set the box signature size and the signer last name.","type":"object","properties":{"email":{"description":"The signers email.","type":"string"},"name":{"description":"The signers name.","type":"string"},"lastName":{"description":"The signers last name.","type":"string"},"tag":{"description":"The signers signature tag. Either tag or page and position needs to be provided","type":"string"},"page":{"description":"The signers signature page. Either tag or page and position needs to be provided (min:1)","format":"double","type":"number"},"posX":{"description":"The signers signature position on X axis. Requeired if page provided","format":"double","type":"number"},"posY":{"description":"The signers signature position on Y axis. Requeired if page provided","format":"double","type":"number"},"sizeBoxX":{"description":"The signers signature box size on on X axis. (min:25)","format":"double","type":"number"},"sizeBoxY":{"description":"The signers signature box size on on Y axis. (min:25)","format":"double","type":"number"},"otpRequired":{"description":"Flag indicating whether the signer requires OTP verification.","type":"boolean"},"phone":{"description":"The signer’s phone number (must include country prefix) used to send the OTP code.","type":"string"},"type":{"description":"Indicated signer types:","enum":["SIGNER","CC"],"type":"string"}}}},"language":{"description":"The signature language. You must indicate the signature language.","type":"string"}}}}}}}},"/negotiation":{"post":{"description":"This endpoint creates a new signature from a negotiation.","summary":"Creates a signature from negotiation.","operationId":"sendSignatureNegotiation","tags":["Signature"],"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"description":"Successful Operation","type":"object","properties":{"signatureUid":{"description":"A unique identifier that this document belongs to.","type":"string"}},"example":{"signatureUid":"lzxlsisrojgjzyhhxyudjmkn"}}}}},"403":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Invalid Authorization"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Invalid Authorization","requestId":"Vo129esiUvPyTTE1BP2YL2u9aoQFfGMb"}}}}},"412":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Request body should be informed","Sender should be informed","Invalid sender","Document should be informed","Invalid document UID","Negotiation should be informed","Invalid negotiation UID","Email should be informed","Invalid email","Signers should be informed","Invalid signers","Language should be informed","Invalid language","Email body should be informed","Invalid email body","Email subject should be informed","Invalid email subject","Sender details could not be retreived from database","Document details could not be retreived from database","Negotiation details could not be retreived from database","User sender does not exist","Document does not exist","Access token does not exist","Negotiation does not exist","Signature could not be created","Sender user does not have signatures available","Workspace does not have signatures available","Your Workspace cannot use this functionality","Negotiation finished","Signer email not informed","Invalid signer email","Signer name not informed","Invalid signer name","Invalid signer last name","Invalid signer tag","Invalid signer page","Invalid page number","Invalid posX min value","Invalid signer's signature position X","Invalid posY min value","Invalid signer's signature position Y","Invalid signer's signature size box X min value","Invalid signer's signature size box Y min value","Invalid signer's signature size box X","Invalid signer's signature size box Y","Either tag or page have to be informed","Signer's signature position X not informed","Signer's signature position Y not informed"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Request body should be informed","requestId":"ZeISQho0bBV05F268rKP2jFDn7ux88dF"}}}}}},"security":[{"bearerSecurity":[]}],"requestBody":{"description":"Request body to create a new signature","content":{"application/json":{"schema":{"description":"Request body to create a new signature","type":"object","properties":{"sender":{"description":"The sender email. You must set the email of the user that will send this signature.","type":"string"},"documentUid":{"description":"The document identifier. You must set the unique identifier of the document that will be signed.","type":"string"},"negotiationUid":{"description":"The negotiation identifier. You must set the unique identifier of the negotiation that will be signed.","type":"string"},"email":{"description":"The email object. In order to set this object, you must fill the subject and body information.","type":"object","properties":{"subject":{"description":"The email topic.","type":"string"},"body":{"description":"The email main text.","type":"string"}}},"signers":{"description":"The list of signers that will receive the signature. You must set the list of signers of the people that will receive this signature. The information of this signers must include the email and name of the signer. It must also include the page and the position of the signature. Optionally, you can set the box signature size and the signer last name.","type":"array","items":{"description":"The list of signers that will receive the signature. You must set the list of signers of the people that will receive this signature. The information of this signers must include the email and name of the signer. It must also include the page and the position of the signature. Optionally, you can set the box signature size and the signer last name.","type":"object","properties":{"email":{"description":"The signers email.","type":"string"},"name":{"description":"The signers name.","type":"string"},"lastName":{"description":"The signers last name.","type":"string"},"tag":{"description":"The signers signature tag. Either tag or page and position needs to be provided","type":"string"},"page":{"description":"The signers signature page. Either tag or page and position needs to be provided (min:1)","format":"double","type":"number"},"posX":{"description":"The signers signature position on X axis. Requeired if page provided","format":"double","type":"number"},"posY":{"description":"The signers signature position on Y axis. Requeired if page provided","format":"double","type":"number"},"sizeBoxX":{"description":"The signers signature box size on on X axis. (min:25)","format":"double","type":"number"},"sizeBoxY":{"description":"The signers signature box size on on Y axis. (min:25)","format":"double","type":"number"},"otpRequired":{"description":"Flag indicating whether the signer requires OTP verification.","type":"boolean"},"phone":{"description":"The signer’s phone number (must include country prefix) used to send the OTP code.","type":"string"},"type":{"description":"Indicated signer types:","enum":["SIGNER","CC"],"type":"string"}}}},"language":{"description":"The signature language. You must indicate the signature language.","type":"string"}}}}}}}},"/validation":{"post":{"description":"This endpoint creates a new signature from a validation.","summary":"Creates a signature from validation.","operationId":"sendSignatureValidation","tags":["Signature"],"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"description":"Successful Operation","type":"object","properties":{"signatureUid":{"description":"A unique identifier that this document belongs to.","type":"string"}},"example":{"signatureUid":"wwbesdiatrwmjvccvndabrqg"}}}}},"403":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Invalid Authorization"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Invalid Authorization","requestId":"rW8hhQWmIpic50cAs08Mi3VgIwmOImRD"}}}}},"412":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Request body should be informed","Sender should be informed","Invalid sender","Document should be informed","Invalid document UID","Validation should be informed","Invalid validation UID","Email should be informed","Invalid email","Signers should be informed","Invalid signers","Language should be informed","Invalid language","Email body should be informed","Invalid email body","Email subject should be informed","Invalid email subject","Sender details could not be retreived from database","Document details could not be retreived from database","Validation details could not be retreived from database","User sender does not exist","Document does not exist","Access token does not exist","Validation does not exist","Signature could not be created","Sender user does not have signatures available","Workspace does not have signatures available","Your Workspace cannot use this functionality","Validation finished","Signer email not informed","Invalid signer email","Signer name not informed","Invalid signer name","Invalid signer last name","Invalid signer tag","Invalid signer page","Invalid page number","Invalid posX min value","Invalid signer's signature position X","Invalid posY min value","Invalid signer's signature position Y","Invalid signer's signature size box X min value","Invalid signer's signature size box Y min value","Invalid signer's signature size box X","Invalid signer's signature size box Y","Either tag or page have to be informed","Signer's signature position X not informed","Signer's signature position Y not informed"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Request body should be informed","requestId":"Dm8tpHU3qduSO0UjI8aG9km3wO2g2fl4"}}}}}},"security":[{"bearerSecurity":[]}],"requestBody":{"description":"Request body to create a new signature","content":{"application/json":{"schema":{"description":"Request body to create a new signature","type":"object","properties":{"sender":{"description":"The sender email. You must set the email of the user that will send this signature.","type":"string"},"documentUid":{"description":"The document identifier. You must set the unique identifier of the document that will be signed.","type":"string"},"validationUid":{"description":"The validation identifier. You must set the unique identifier of the validation that will be signed.","type":"string"},"email":{"description":"The email object. In order to set this object, you must fill the subject and body information.","type":"object","properties":{"subject":{"description":"The email topic.","type":"string"},"body":{"description":"The email main text.","type":"string"}}},"signers":{"description":"The list of signers that will receive the signature. You must set the list of signers of the people that will receive this signature. The information of this signers must include the email and name of the signer. It must also include the page and the position of the signature. Optionally, you can set the box signature size and the signer last name.","type":"array","items":{"description":"The list of signers that will receive the signature. You must set the list of signers of the people that will receive this signature. The information of this signers must include the email and name of the signer. It must also include the page and the position of the signature. Optionally, you can set the box signature size and the signer last name.","type":"object","properties":{"email":{"description":"The signers email.","type":"string"},"name":{"description":"The signers name.","type":"string"},"lastName":{"description":"The signers last name.","type":"string"},"tag":{"description":"The signers signature tag. Either tag or page and position needs to be provided","type":"string"},"page":{"description":"The signers signature page. Either tag or page and position needs to be provided (min:1)","format":"double","type":"number"},"posX":{"description":"The signers signature position on X axis. Requeired if page provided","format":"double","type":"number"},"posY":{"description":"The signers signature position on Y axis. Requeired if page provided","format":"double","type":"number"},"sizeBoxX":{"description":"The signers signature box size on on X axis. (min:25)","format":"double","type":"number"},"sizeBoxY":{"description":"The signers signature box size on on Y axis. (min:25)","format":"double","type":"number"},"otpRequired":{"description":"Flag indicating whether the signer requires OTP verification.","type":"boolean"},"phone":{"description":"The signer’s phone number (must include country prefix) used to send the OTP code.","type":"string"},"type":{"description":"Indicated signer types:","enum":["SIGNER","CC"],"type":"string"}}}},"language":{"description":"The signature language. You must indicate the signature language.","type":"string"}}}}}}}},"/{documentUid}/{signatureUid}/download":{"get":{"description":"This endpoint obtains the URL to download the signed document.","summary":"Download signed document.","operationId":"downloadSignature","tags":["Signature"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"description":"Successful Operation","type":"object","properties":{"signedUrl":{"description":"Signed URL of the signed document. The signed URL has a year time expiration","type":"string","format":"uri"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"signedUrl":"https://example.com/ref.docx?AccessId=ID&Expires=1650000000&Signature=v3xBUcHFW1GTbBLnySyqk6TMA3ZS4MWQ","requestId":"2lPYPlyJ1nGdUkn8y7SdsaK5fB606cmL"}}}}},"403":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Invalid Authorization"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Invalid Authorization","requestId":"1rsv3Zx70qG2Q2IohF0sk7H19xOLK46r"}}}}},"412":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Request body should be informed","Document should be informed","Invalid document UID","Signature should be informed","Invalid signature UID","Signature details could not be retreived from database","Signature does not exist","Signature has not been signed","Document signed not available yet","Signed URL does not exist"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Request body should be informed","requestId":"HJ4KGI6IU4K4f3HBZyg0zfYsjB32akMB"}}}}}},"security":[{"bearerSecurity":[]}],"parameters":[{"description":"The document identifier. You must set the unique identifier of the document that you used to create the signature.","in":"path","name":"documentUid","required":true,"schema":{"description":"The document identifier. You must set the unique identifier of the document that you used to create the signature.","type":"string"}},{"description":"The signature identifier. You must set the unique identifier of the signature.","in":"path","name":"signatureUid","required":true,"schema":{"description":"The signature identifier. You must set the unique identifier of the signature.","type":"string"}}]}},"/{documentUid}/{signatureUid}/extendExpiration":{"patch":{"description":"This endpoint extends the expiration date of a signature that is not in a final status (rejected, cancelled or signed).","summary":"Extend signature expiration.","operationId":"extendExpiration","tags":["Signature"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"description":"Successful Operation","type":"object","properties":{"signatureUid":{"description":"The unique identifier of the signature whose expiration was extended.","type":"string"}},"example":{"signatureUid":"mbiuvocygiipewgvzudmrg"}}}}},"403":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Invalid Authorization"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Invalid Authorization","requestId":"obCw614O5o6C0wIUWV0YqEhr5Y5JRNhP"}}}}},"412":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Request body should be informed","Document should be informed","Invalid document UID","Signature should be informed","Invalid signature UID","Extended expiration days should be informed","Invalid extended expiration days","Extended expiration days must be between 1 and 365","Signature details could not be retrieved from database","Signature does not exist","Signature is in a final status (rejected, cancelled or signed)","Expiration could not be extended"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Request body should be informed","requestId":"juOKxVBPX87UM6rxh28Vv4705LsLRDc0"}}}}}},"security":[{"bearerSecurity":[]}],"parameters":[{"description":"The document identifier. You must set the unique identifier of the document that the signature belongs to.","in":"path","name":"documentUid","required":true,"schema":{"description":"The document identifier. You must set the unique identifier of the document that the signature belongs to.","type":"string"}},{"description":"The signature identifier. You must set the unique identifier of the signature.","in":"path","name":"signatureUid","required":true,"schema":{"description":"The signature identifier. You must set the unique identifier of the signature.","type":"string"}}],"requestBody":{"description":"Request body to extend the expiration of a signature.","content":{"application/json":{"schema":{"description":"Request body to extend the expiration of a signature.","type":"object","properties":{"extendedExpirationDays":{"description":"The number of additional days to extend the expiration (1-365). (min:1)","format":"double","type":"number"}}}}}}}},"/{documentUid}/{signatureUid}/{signerUid}":{"patch":{"description":"This endpoint edits the signer information of a signature that is not in a final status (rejected, cancelled or signed).","summary":"Edit signer information.","operationId":"editSigner","tags":["Signature"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"description":"Successful Operation","type":"object","properties":{"signerUid":{"description":"The unique identifier of the updated signer.","type":"string"}},"example":{"signerUid":"uymcjtbmgtvleklrfnreohqjugg"}}}}},"403":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Invalid Authorization"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Invalid Authorization","requestId":"XTcgh8VZb15KbEE0VExnH4C7aOmpUXv6"}}}}},"412":{"description":"Error processing request","content":{"application/json":{"schema":{"description":"Error processing request","type":"object","properties":{"time":{"description":"Error time","type":"string"},"message":{"description":"Error message","enum":["Request body should be informed","Document should be informed","Invalid document UID","Signature should be informed","Invalid signature UID","Signer should be informed","Invalid signer UID","Signer email not informed","Invalid signer email","Signer name not informed","Invalid signer name","Invalid signer last name","Signature details could not be retrieved from database","Signature does not exist","Signer does not exist","Signature is in a final status (rejected, cancelled or signed)","Signer could not be updated","Access token does not exist","At least one of the following fields must be informed: email, name, lastName"],"type":"string"},"requestId":{"description":"Unique request ID","type":"string"}},"example":{"time":"2021-01-01T00:00:00.000+00:00 (UTC+0)","message":"Request body should be informed","requestId":"LEBD3P70668Zq8i0fxMODXLUOl63wqiU"}}}}}},"security":[{"bearerSecurity":[]}],"parameters":[{"description":"The document identifier. You must set the unique identifier of the document that the signature belongs to.","in":"path","name":"documentUid","required":true,"schema":{"description":"The document identifier. You must set the unique identifier of the document that the signature belongs to.","type":"string"}},{"description":"The signature identifier. You must set the unique identifier of the signature.","in":"path","name":"signatureUid","required":true,"schema":{"description":"The signature identifier. You must set the unique identifier of the signature.","type":"string"}},{"description":"The signer identifier. You must set the unique identifier of the signer to edit.","in":"path","name":"signerUid","required":true,"schema":{"description":"The signer identifier. You must set the unique identifier of the signer to edit.","type":"string"}}],"requestBody":{"description":"Request body to edit a signer. At least one of email, name or lastName must be provided.","content":{"application/json":{"schema":{"description":"Request body to edit a signer. At least one of email, name or lastName must be provided.","type":"object","properties":{"email":{"description":"The new signer email.","type":"string"},"name":{"description":"The new signer name.","type":"string"},"lastName":{"description":"The new signer last name.","type":"string"}}}}}}}}},"servers":[{"url":"https://europe-west1-bigle-platform.cloudfunctions.net/apiSignatureEU-v1"}],"components":{"securitySchemes":{"bearerSecurity":{"type":"http","scheme":"bearer"}}}}