Skip to main content
Get all element responses
curl --request GET \
  --url https://{tenantId}.api.nestmed.com/api/v1/visits/{visitId}/elements \
  --header 'Authorization: Bearer <token>'
{
  "elements": [
    {
      "slug": "<string>",
      "name": "<string>",
      "category": "<string>",
      "module": "<string>",
      "responseData": {},
      "metadata": {
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "createdBy": "<string>",
        "updatedBy": "<string>"
      },
      "status": "draft"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

visitId
string
required

Response

200 - application/json

Element responses for the visit.

elements
object[]