Read Request
Get a collection request by ID
GET /di/collection-request/{id}
Path parameters
| Param | Required | Description |
|---|---|---|
id | Yes | Collection request ID |
Example
Production:
curl 'https://api.qidpro.xyz/di/collection-request/6b1f2a3c4d5e6f7a8b9c0d1e' \
--header 'Authorization: Bearer your-secret-key' \
--header 'tokenId: your-token-id'Staging:
curl 'https://staging.qidpro.xyz/di/collection-request/6b1f2a3c4d5e6f7a8b9c0d1e' \
--header 'Authorization: Bearer your-secret-key' \
--header 'tokenId: your-token-id'Example response
200 OK
{
"_id": "6b1f2a3c4d5e6f7a8b9c0d1e",
"deleteTime": null,
"childAccountId": "6a0b1c2d3e4f5a6b7c8d9e10",
"account_id": "6a0b1c2d3e4f5a6b7c8d9e0f",
"title": "Guest Check-In",
"templateId": "6a1c2e3f4a5b6c7d8e9f0a1b",
"participantList": [
{
"email": "[email protected]",
"phoneNumber": "916123456789",
"name": "Guest One",
"isAdmin": true
},
{
"email": "[email protected]",
"name": "Guest Two",
"isAdmin": false
}
],
"minimumParticipants": 1,
"maximumParticipants": 5,
"shareStatus": "open",
"webhookUrl": "https://your-server.com/webhooks/qid",
"webhookSecret": "your-webhook-secret",
"webhookIdentifier": "hotel_checkin_123",
"createTime": "2026-11-10T11:45:00.242Z",
"lastUpdateTime": "2026-11-10T11:45:00.242Z",
"__v": 0,
"template": {
"_id": "6a1c2e3f4a5b6c7d8e9f0a1b",
"createdBy": "6a0b1c2d3e4f5a6b7c8d9e01",
"deleteTime": null,
"purpose": "Guest Check-In",
"acceptedIds": [],
"otherInfo": [
{
"value": "",
"isMandatory": false,
"isEnabled": true,
"data": null,
"isForEachParticipant": false,
"sectionBreak": null,
"name": "roomNumber",
"type": "text",
"label": "Room number",
"placeholder": "Room number"
},
{
"value": "",
"isMandatory": false,
"isEnabled": true,
"data": null,
"isForEachParticipant": false,
"sectionBreak": null,
"name": "purposeOfVisit",
"type": "dropdown",
"options": "Business,Leisure,Other",
"label": "Purpose of visit"
}
],
"participantAcceptedIds": [],
"participantOtherInfo": [],
"isAtLeastOneAmongOptional": false,
"isPublic": true,
"org": {
"_id": "6a0b1c2d3e4f5a6b7c8d9e0f",
"name": "Example Hotels",
"industry": {
"deleteTime": null,
"_id": "6428a1b2c3d4e5f6a7b8c9d0",
"createTime": "2023-04-02T03:30:28.056Z",
"createdBy": "63c1a2b3c4d5e6f7a8b9c0d1",
"lastUpdateTime": null,
"name": "Hotel",
"__v": 0
},
"createByUser": {
"_id": "6a0b1c2d3e4f5a6b7c8d9e01",
"name": "Docs Test Admin",
"email": "[email protected]"
},
"displayPictureUrl": "a1b2c3d4e5.jpeg"
},
"isQuotaLocked": false,
"isParticipantEmailRequired": false,
"isParticipantPhoneRequired": false,
"isParticipantSignature": false,
"agreements": [
{
"urlButtonText": "Read the complete policy",
"mandatory": true,
"checkboxTitle": "I Agree",
"bullets": [],
"icons": [
{
"imgName": "no-drink.png"
}
],
"title": "House rules"
}
],
"isVerifiedSignUp": false,
"isEmailRequired": false,
"isPhoneRequired": false,
"isOtpVerification": true,
"isSelfieVerification": true,
"createTime": "2026-02-03T10:55:22.926Z",
"lastUpdateTime": "2026-10-21T10:40:49.302Z",
"__v": 0,
"type": "check-in",
"identityVerificationSettings": {
"verificationMethod": "digilocker",
"isCollectCompleteAadhaar": true,
"documentOptions": [],
"allowManualIdUpload": false,
"indianDocumentOptions": [
{
"sidKey": "ADHAR",
"sidName": "Aadhaar",
"acceptedSources": [
"digilocker",
"userUploaded"
]
},
{
"sidKey": "DRVLC",
"sidName": "Driving License",
"acceptedSources": [
"userUploaded"
]
},
{
"sidKey": "PSPRT",
"sidName": "Passport",
"acceptedSources": [
"userUploaded"
]
}
],
"otherCountryDocumentOptions": [
{
"sidKey": "PSPRT",
"sidName": "Passport",
"acceptedSources": [
"userUploaded"
]
}
],
"captureCompleteDocument": true
},
"isIdentityVerification": true,
"uiVersion": 2,
"allowGroup": true,
"isSignature": false,
"successfulMessage": "Thank you for checking in!",
"postSubmissionRedirectUrl": "",
"automations": [
"CFORM"
],
"webhookIdentifier": "hotel_checkin",
"webhookSecret": null,
"webhookUrl": "https://your-server.com/webhooks/qid"
}
}The template object is the full form configuration. The example above shortens otherInfo to two fields.
Response fields
| Field | Description |
|---|---|
_id | Collection request ID |
deleteTime | null unless the request was deleted |
childAccountId | Child account Id. Only present when sent on create |
account_id | Account that owns the request |
title | Copied from the form's purpose. null if the request has no form |
templateId | Form Id. Omitted if the request has no form |
participantList | Participants as sent on create (email, phoneNumber, name, isAdmin) |
minimumParticipants | Minimum number of participants |
maximumParticipants | Maximum number of participants |
shareStatus | open while waiting for participants, completed once a share has been created. The spec also lists closed |
webhookUrl | Webhook URL, or null |
webhookSecret | Webhook secret, or null |
webhookIdentifier | Webhook identifier, or null |
createTime | Creation time (ISO 8601) |
lastUpdateTime | Last update time (ISO 8601) |
__v | Internal version number |
shareId | Id of the share created from this request. Only present once a share exists (appears between __v and template) |
template | Full form object. Omitted if the request has no form |
Once a share is created, use the shareId to read the share.
Errors
| Status | Response |
|---|---|
200 | Empty body (Content-Length: 0) when no collection request exists with that id |
400 | Invalid Object ID when id is not a valid ObjectId |
401 | Error: Token Missing or HttpException: No record found with the provided Token ID |
Note that an unknown id does not return 404. Check for an empty body.
Example 400 response:
{
"statusCode": 400,
"message": "Invalid Object ID",
"timestamp": "2026-11-10T11:44:31.090Z",
"path": "/di/collection-request/not-an-id",
"requestId": "a9e57f79-1237-4704-b88b-0ae05534e141"
}Updated 17 days ago
Did this page help you?