Read Share

Get a share by ID

GET /di/share/{id}

Path parameters

ParamRequiredDescription
idYesShare ID

Example

Production:

curl 'https://api.qidpro.xyz/di/share/69ae9560ba7f6726e85f60ca' \
  --header 'Authorization: Bearer your-secret-key' \
  --header 'tokenId: your-token-id'

Staging:

curl 'https://staging.qidpro.xyz/di/share/69ae9560ba7f6726e85f60ca' \
  --header 'Authorization: Bearer your-secret-key' \
  --header 'tokenId: your-token-id'

Example response

{
  "_id": "69ae9560ba7f6726e85f60ca",
  "deleteTime": null,
  "schemaVersion": "1",
  "participants": [
    {
      "account_id": "65df6943fdfc8d36890575d7",
      "accountType": "organisation",
      "accountSnapshot": {
        "_id": "65df6943fdfc8d36890575d7",
        "name": "Hotel Raj - Central",
        "email": null,
        "phoneNumber": null,
        "displayPictureUrl": "8a1614ab67.png",
        "parentAccountId": null
      },
      "roles": ["organiser", "admin"],
      "parentAccount_id": "68f3c241c222712d98c925c5"
    },
    {
      "roles": ["sharer", "admin"],
      "accountType": "user",
      "account_id": "66a14dfe4be6e965914aa8d1",
      "accountSnapshot": {
        "_id": "66a14dfe4be6e965914aa8d1",
        "name": "dsa",
        "email": "[email protected]",
        "phoneNumber": null,
        "displayPictureUrl": null,
        "parentAccountId": null
      }
    }
  ],
  "otherFields": [
    {
      "value": "Work",
      "isMandatory": false,
      "type": "text",
      "label": "Purpose of travel"
    }
  ],
  "template": {
    "_id": "68f3c241c222712d98c925c5",
    "purpose": "Check-in for Indian Guest",
    "type": "check-in"
  },
  "isQuotaLocked": false,
  "status": "open",
  "agreements": [],
  "updateLogs": [
    {
      "remark": "Share Started",
      "updatedByAccount_id": "66a14dfe4be6e965914aa8d1",
      "updatedByAccountType": "user",
      "updatedByAccountSnapshot": {
        "name": "Arjun Kapoor"
      },
      "updateTime": "2026-03-09T09:39:44.884Z"
    }
  ],
  "isPublicJoin": false,
  "collectionRequestId": "69ae919d383217210dca57a8",
  "createTime": "2026-03-09T09:39:44.886Z",
  "lastUpdateTime": "2026-03-09T09:39:44.886Z",
  "__v": 0
}

Did this page help you?