Authorization: Bearer ********************
{
"vendor": "leegality",
"creds_key": "test_esign_leegality_creds",
"storage_vendor": "S3",
"storage_creds_key": "test_storage_s3_creds",
"callback_url": "http://los.dev-crego-service-discovery:8000/v1/los/signs/service_callback/",
"request_data": {
"file": {
"name": "Sample"
},
"invitees": [
{
"name": "COGNEAU SYSTEMS PRIVATE LIMITED",
"email": "",
"phone": "9632455440"
}
],
"irn": "",
"profileId": "J9sjen2"
},
"reference_id": "eb95bef8-0c96-46b9-89ff-77470a2979b8",
"user_id": None,
"created_at": "1710318372",
"updated_at": "1710322187",
"status": "success",
"response_data": {
"documentId": "HA103AA137",
"irn": None,
"invitees": [
{
"name": "Pankaj Singh",
"email": "pankajaithani2@gmail.com",
"phone": "8076368239",
"signUrl": "https://sandbox.leegality.com/sign/c6e1379b-fe8d-4ed1-b44c-cf838251e95a",
"active": true,
"expiryDate": "2024-03-23T18:29:59Z",
"signer_status": "success"
},
{
"name": "Mohd Shoaib",
"email": "shoaibmohd113@gmail.com",
"phone": null,
"signUrl": "https://sandbox.leegality.com/sign/78036b86-4752-4528-85f2-f1b37f49ef83",
"active": false,
"expiryDate": "2024-03-23T18:29:59Z",
"signer_status": "unsigned"
}
],
"status": "unsigned"
},
"id": "eb95bef8-0c96-46b9-89ff-77470a2979b8"
}
curl --location --request POST 'https://preprod.api.crego.io/v1/los/signs/initiate/' \
--header 'Content-Type: application/json' \
--data-raw '{
"vendor": "leegality",
"creds_key": "test_esign_leegality_creds",
"storage_vendor": "S3",
"storage_creds_key": "test_storage_s3_creds",
"callback_url": "http://los.dev-crego-service-discovery:8000/v1/los/signs/service_callback/",
"request_data": {
"file": {
"name": "Sample"
},
"invitees": [
{
"name": "COGNEAU SYSTEMS PRIVATE LIMITED",
"email": "",
"phone": "9632455440"
}
],
"irn": "",
"profileId": "J9sjen2"
},
"reference_id": "eb95bef8-0c96-46b9-89ff-77470a2979b8",
"user_id": None,
"created_at": "1710318372",
"updated_at": "1710322187",
"status": "success",
"response_data": {
"documentId": "HA103AA137",
"irn": None,
"invitees": [
{
"name": "Pankaj Singh",
"email": "pankajaithani2@gmail.com",
"phone": "8076368239",
"signUrl": "https://sandbox.leegality.com/sign/c6e1379b-fe8d-4ed1-b44c-cf838251e95a",
"active": true,
"expiryDate": "2024-03-23T18:29:59Z",
"signer_status": "success"
},
{
"name": "Mohd Shoaib",
"email": "shoaibmohd113@gmail.com",
"phone": null,
"signUrl": "https://sandbox.leegality.com/sign/78036b86-4752-4528-85f2-f1b37f49ef83",
"active": false,
"expiryDate": "2024-03-23T18:29:59Z",
"signer_status": "unsigned"
}
],
"status": "unsigned"
},
"id": "eb95bef8-0c96-46b9-89ff-77470a2979b8"
}'
{}