Check Envelope Status
This document contains details for the /api/v1/mailbox/{uuid} endpoint, including filter parameters, request examples, response examples, and status codes.
Last updated
Was this helpful?
Was this helpful?
GET https://api.platform_address_here/api/v1/mailbox/837bc65e-4818-48f5-a933-2d00b24b6e12?scope=outbox&archived=false&template=e5705211-51d1-4c34-9429-c537038b3c44&limit=20&offset=0&sort=desc
Authorization: Bearer {token}
Content-Type: application/json
mailboxUuid: 837bc65e-4818-48f5-a933-2d00b24b6e12{
"totalElements": 2,
"sizeRequested": 20,
"numberOfElements": 2,
"data": [
{
"envelopeUuid": "e8d5a176-d75e-4d9d-ad19-c66ef300a4a1",
"subject": "Job Offer",
"message": "Please review and sign.",
"archived": false,
"sentByMe": false,
"createdAt": "2020-12-08T13:35:29.228Z",
"seenAt": null,
"expiredAfter": "2021-01-07T13:35:29.330Z",
"notifyBeforeExpire": false,
"status": "SENT",
"mailboxUUID": "837bc65e-4818-48f5-a933-2d00b24b6e12",
"mailboxName": "testMailbox",
"total": 3,
"completed": 1,
"labels": [],
"templateUuid": "e5705211-51d1-4c34-9429-c537038b3c44",
"templateName": "Job Offer"
},
{
"envelopeUuid": "94544d72-301c-4cda-a7fa-e2b7ec4fec7a",
"subject": "Employment Contract",
"message": "Final version.",
"archived": false,
"sentByMe": false,
"createdAt": "2020-12-07T16:23:40.133Z",
"seenAt": "2020-12-07T16:23:41.312Z",
"expiredAfter": "2021-01-06T16:23:40.244Z",
"notifyBeforeExpire": false,
"status": "COMPLETED",
"mailboxUUID": "837bc65e-4818-48f5-a933-2d00b24b6e12",
"mailboxName": "testMailbox",
"total": 3,
"completed": 3,
"labels": [],
"templateUuid": "e5705211-51d1-4c34-9429-c537038b3c44",
"templateName": "Job Offer"
}
]
}GET https://api.platform_address_here/api/v1/mailbox/837bc65e-4818-48f5-a933-2d00b24b6e12?UUID=3fa85f64-5717-4562-b3fc-2c963f66afa6
Authorization: Bearer {token}
Content-Type: application/json
mailboxUuid: 837bc65e-4818-48f5-a933-2d00b24b6e12{
"envelope": {
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"receivedAt": "2020-12-09T20:11:39.774Z",
"total": 3,
"completed": 0,
"labels": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"data": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><envelope templateUuid=\"6a9147f2-ec26-41f6-b694-7dd33eb3a659\" templateVersion=\"dd598d80-8856-401c-a45c-06503c0d8a19\"><state><status>SENT</status><date>2020-12-09T20:11:39.774Z</date></state></envelope>"
},
"template": {
"uuid": "6a9147f2-ec26-41f6-b694-7dd33eb3a659",
"version": "dd598d80-8856-401c-a45c-06503c0d8a19",
"name": "Job Offer",
"description": "Standard hiring template",
"access": "account",
"archive": true,
"categories": [],
"createdAt": "2020-12-09T20:10:44.503Z",
"modifiedAt": "2020-12-09T20:10:44.503Z",
"dataCreatedAt": "2020-12-09T20:10:44.543Z",
"dataModifiedAt": "2020-12-09T20:10:44.543Z",
"data": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><template>...</template>"
}
}