Export
This is URL structure for export:
{{url}}/{{tenantName}}/{{instanceName}}/export/{{resourceName}}?start={value}&pageSize={value}
When working with the API, the resourceName parameter must be in uppercase.
This parameter specifies the type of resource you want to work with and can have one of the following values:
ASSESSMENT
Exports all assessments stored in the database
CALENDAR_EVENT
Exports all calendar events stored in the database
CDT_RECORD
Exports all cdt records stored in the database
CHAT
Exports all chat messages records stored in the database
Exports all emails stored in the database
ENCOUNTER
Exports all encounters stored in the database
ENCOUNTER_COMMENT
Exports all encounter comments stored in the database
ENCOUNTER_DISPOSITION
Exports all encounter dispositions stored in the database
PATIENT
Exports all patients stored in the database
PFA
Exports all assessments sent to the patient
SMS
Exports all sms records stored in the database
TASK
Exports all tasks stored in the database
VOICE_CALL
Exports all voice calls stored in the database
WHATS_APP
Exports all WhatsApp messages stored in the database
Response Body
The response body contains a cursor object with the following properties:
start:The date the selection started from. This can be null if thestartquery parameter was not specified.end:The date the selection ended for the current request.hasNext:A boolean indicating whether there are more records left to retrieve.pageSize:The maximum number of records in thedatafield for the current request.
Note:
To fetch the next set of data, use the value of cursor → end as the start query parameter in your next request. The final query will return at least one record, as the selection is performed with a "less than or equal" condition. All records in the data field are sorted by the last update in the database, from oldest to newest.
Permission The export API is only accessible to API clients. To retrieve the data, an administrator must set up appropriate policies for the API client.
To perform exports, the API client needs to have the appropriate export permissions
The endpoint for retrieving Formation versions.
This will return a list of all available Formation versions.
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
live50Cursor-paginated export data (generic placeholder).
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/formation_version HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Endpoint to obtain the Assessment Formation for a selected version.
The {{version}} parameter should be either a version number, "current," or "draft" ("-1").
The response will be provided in a ZIP file. To save it, click on "Save response to file." The ZIP file contains a JSON file with the Assessment formation for the selected version.
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveFormation version identifier (e.g. current, draft, or a version number)
currentCursor-paginated export data (generic placeholder).
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/formations/{version}/assessments HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all cdt records stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
2021-09-07T16:52:35.410ZMin value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Allows you to export all CDT records for a specific patient. If you need to export records for multiple patients, their IDs should be entered separated by commas.
Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/CDT_RECORD HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"patientId": "123e4567-e89b-12d3-a456-426614174000",
"cdtId": "123e4567-e89b-12d3-a456-426614174000",
"version": 1,
"cdtName": "text",
"jsonBody": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all pdt records stored in database. To export, the API client needs to have permissions to export PDT Records (permissions are configured in Designer under Security Policies).
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
2024-01-07T16:00:00.410ZMin value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Example: 10Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/PDT_RECORD HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"fullValue": "text",
"deleted": true,
"pdtName": "text",
"jsonBody": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all care plans stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
2021-09-07T16:52:35.410ZMin value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/CARE_PLAN HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedByName": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"patientId": "123e4567-e89b-12d3-a456-426614174000",
"patientOverview": {
"createdByName": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedByName": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"overview": "text"
},
"goals": [
{
"details": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"createdAt": "text",
"updatedByName": "text",
"updatedAt": "text",
"name": "text",
"type": "text",
"priority": "LOW",
"status": "ACTIVE",
"templateName": "text"
},
"tasks": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"updatedByName": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"name": "text",
"description": "text",
"dueDate": "2026-01-01T00:00:00.000Z",
"status": "TODO",
"priority": "LOW",
"patient": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
},
"assignee": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"enabled": true
},
"watchers": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"enabled": true
}
],
"comments": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2026-01-01T00:00:00.000Z",
"author": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"enabled": true
},
"text": "text",
"patient": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
},
"user": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
}
}
],
"goalId": "123e4567-e89b-12d3-a456-426614174000",
"templateName": "text",
"createdType": "AUTOMATION",
"sourceId": "123e4567-e89b-12d3-a456-426614174000",
"sourceType": "ASSESSMENT",
"hiddenPhi": true,
"watchersType": "POINT_OF_CONTACT"
}
],
"comments": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedByName": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"text": "text"
}
]
}
]
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all voices calls stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
Min value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Allows you to export all Voice calls for a specific patient. If you need to export records for multiple patients, their IDs should be entered separated by commas.
Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/VOICE_CALL HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"updatedByName": "text",
"sendNow": true,
"sentAt": "2026-01-01T00:00:00.000Z",
"receivedAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"date": "2026-01-01T00:00:00.000Z",
"careTeam": "text",
"patientInfo": "text",
"sender": "123e4567-e89b-12d3-a456-426614174000",
"senderType": "CS_TOOL_CLIENT",
"senderName": "text",
"from": "text",
"receiver": "123e4567-e89b-12d3-a456-426614174000",
"receiverType": "CS_TOOL_CLIENT",
"receiverName": "text",
"to": "text",
"direction": "OUT",
"externalId": "text",
"starred": true,
"errorMessage": "text",
"assignedBy": "123e4567-e89b-12d3-a456-426614174000",
"assignedByName": "text",
"hasHistory": true,
"unrecognized": true,
"childCallSid": "text",
"parentCallStatus": "QUEUED",
"childCallStatus": "QUEUED",
"userPhone": "text",
"parentCallDuration": 1,
"childCallDuration": 1,
"recorded": true,
"recordingDuration": 1,
"recordingSid": "text",
"recordingUrl": "text",
"recordingFile": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"originalName": "text",
"size": 1,
"contentType": "text",
"storageKey": "text"
},
"phoneId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all patients stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
2021-09-07T16:52:35.381ZMin value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/PATIENT HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalGuid": "123e4567-e89b-12d3-a456-426614174000",
"externalId": "text",
"mrn": "text",
"nric": "text",
"accessCode": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"createdByName": "text",
"updatedByName": "text",
"firstName": "text",
"lastName": "text",
"middleName": "text",
"birthDate": "2026-01-01T00:00:00.000Z",
"gender": "MALE",
"maritalStatus": "A",
"primaryLanguage": "ENGLISH",
"secondaryLanguage": "ENGLISH",
"email": "name@gmail.com",
"secondaryEmail": "name@gmail.com",
"phone": "text",
"phoneLabel": "text",
"primaryPhoneCapabilities": [
"VOICE_CALL"
],
"secondaryPhone": "text",
"secondaryPhoneLabel": "text",
"secondaryPhoneCapabilities": [
"VOICE_CALL"
],
"preferableInstancePhoneId": "123e4567-e89b-12d3-a456-426614174000",
"country": "text",
"state": "text",
"city": "text",
"zip": "text",
"addressLine1": "text",
"addressLine2": "text",
"timezone": "text",
"patientType": "ADULT",
"notes": "text",
"careTeamMembers": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"pointOfContact": true
}
],
"patientPrograms": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedByName": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"programName": "text",
"programTitle": "text",
"programDescription": "text",
"assigned": true,
"patientId": "123e4567-e89b-12d3-a456-426614174000",
"currentPhase": {
"timestamp": "2026-01-01T00:00:00.000Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"name": "text",
"title": "text",
"description": "text",
"currentVersion": "text",
"deleted": true
},
"status": "NOT_STARTED",
"compatibleWithCurrentVersion": true,
"pathHistory": [
{
"timestamp": "2026-01-01T00:00:00.000Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"name": "text",
"title": "text",
"description": "text",
"currentVersion": "text",
"deleted": true
}
]
}
],
"careTeam": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"username": "text",
"firstName": "text",
"lastName": "text",
"email": "name@gmail.com",
"roles": [
{
"name": "text",
"primaryRole": true,
"description": "text",
"instanceId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pointOfContact": true,
"enabled": true
}
],
"territorialTeam": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"username": "text",
"firstName": "text",
"lastName": "text",
"email": "name@gmail.com",
"roles": [
{
"name": "text",
"primaryRole": true,
"description": "text",
"instanceId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pointOfContact": true,
"enabled": true
}
],
"cadence": [
{
"schedules": [
{
"hour": 1,
"minute": 1,
"days": [
"MONDAY"
],
"weekNumbers": [
1
]
}
],
"priority": "LOW"
}
],
"patientRegion": "text",
"patientRegionTitle": "text",
"patientTerritory": "text",
"pointOfContact": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"username": "text",
"firstName": "text",
"lastName": "text",
"email": "name@gmail.com",
"roles": [
{
"name": "text",
"primaryRole": true,
"description": "text",
"instanceId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"pointOfContact": true,
"enabled": true
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all chat messages stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
live2022-11-07T16:52:35.410Z20Example: 5Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/CHAT HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"sender": {
"clientType": "CS_TOOL_CLIENT",
"id": "123e4567-e89b-12d3-a456-426614174000",
"titleName": "text",
"patientFullName": "text"
},
"receiver": {
"clientType": "CS_TOOL_CLIENT",
"id": "123e4567-e89b-12d3-a456-426614174000",
"titleName": "text",
"patientFullName": "text"
},
"message": "text",
"externalId": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"attachments": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"originalName": "text",
"size": 1,
"contentType": "text",
"storageKey": "text"
}
],
"skipEvent": true,
"deletedAt": "2026-01-01T00:00:00.000Z"
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all programs stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
2021-09-07T16:52:35.381ZMin value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Allows you to export all programs for a specific patient. If you need to export records for multiple patients, their IDs should be entered separated by commas.
Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/PATIENT_PROGRAM HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedByName": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"programName": "text",
"programTitle": "text",
"programDescription": "text",
"assigned": true,
"patientId": "123e4567-e89b-12d3-a456-426614174000",
"currentPhase": {
"timestamp": "2026-01-01T00:00:00.000Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"name": "text",
"title": "text",
"description": "text",
"currentVersion": "text",
"deleted": true
},
"status": "NOT_STARTED",
"compatibleWithCurrentVersion": true,
"pathHistory": [
{
"timestamp": "2026-01-01T00:00:00.000Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"name": "text",
"title": "text",
"description": "text",
"currentVersion": "text",
"deleted": true
}
]
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all sms records stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
2021-09-04T17:51:01.817ZMin value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Allows you to export all SMS for a specific patient. If you need to export records for multiple patients, their IDs should be entered separated by commas.
Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/SMS HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"updatedByName": "text",
"sendNow": true,
"sentAt": "2026-01-01T00:00:00.000Z",
"receivedAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"date": "2026-01-01T00:00:00.000Z",
"careTeam": "text",
"patientInfo": "text",
"sender": "123e4567-e89b-12d3-a456-426614174000",
"senderType": "CS_TOOL_CLIENT",
"senderName": "text",
"from": "text",
"receiver": "123e4567-e89b-12d3-a456-426614174000",
"receiverType": "CS_TOOL_CLIENT",
"receiverName": "text",
"to": "text",
"direction": "OUT",
"externalId": "text",
"starred": true,
"errorMessage": "text",
"assignedBy": "123e4567-e89b-12d3-a456-426614174000",
"assignedByName": "text",
"hasHistory": true,
"unrecognized": true,
"message": "text",
"parts": 1,
"status": "SCHEDULED",
"messageType": "CARE_TEAM",
"phoneId": "123e4567-e89b-12d3-a456-426614174000",
"attachments": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"originalName": "text",
"size": 1,
"contentType": "text",
"storageKey": "text"
}
],
"attachmentsFromTemplate": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"originalName": "text",
"size": 1,
"contentType": "text",
"storageKey": "text"
}
],
"skipEvent": true
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
live2022-11-07T16:52:35.410Z20Example: 5Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/WHATS_APP HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all calendar events stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
Min value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/CALENDAR_EVENT HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2026-01-01T00:00:00.000Z",
"externalId": "text",
"externalIdUpdatedAt": "2026-01-01T00:00:00.000Z",
"eventTitle": "text",
"eventDescription": "text",
"startDateTime": "2026-01-01T00:00:00.000Z",
"localStartDateTime": "2026-01-01T00:00:00.000Z",
"endDateTime": "2026-01-01T00:00:00.000Z",
"localEndDateTime": "2026-01-01T00:00:00.000Z",
"allDayEvent": true,
"duration": 1,
"eventType": "text",
"eventStatus": "text",
"eventMode": "text",
"eventColor": "text",
"hostId": "123e4567-e89b-12d3-a456-426614174000",
"timezone": "text",
"additionalInfo": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"acuityAppointmentId": 1,
"externalCalendarEventId": "text",
"encounterInfo": {
"encounterId": "123e4567-e89b-12d3-a456-426614174000",
"dispositionId": "123e4567-e89b-12d3-a456-426614174000",
"templateName": "text",
"templateTitle": "text",
"patientId": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"description": "text",
"notes": "text",
"type": "text",
"status": "DRAFT",
"serviceCost": 1,
"preVisitCost": 1,
"visitServices": [
{
"name": "text",
"quantity": 1,
"serviceCost": 1,
"cancellationFee": 1,
"preVisitCost": 1,
"modifiers": [
"text"
]
}
],
"location": "text"
},
"participants": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"participantId": "123e4567-e89b-12d3-a456-426614174000",
"participantRole": "patient",
"participationStatus": "UNKNOWN",
"attended": true,
"timezone": "text",
"firstName": "text",
"lastName": "text",
"deleted": true,
"hasAccess": true,
"hiddenPhi": true,
"email": "name@gmail.com",
"phone": "text",
"gender": "MALE",
"birthDate": "2026-01-01T00:00:00.000Z",
"enabled": true
}
],
"externalEventMetadata": {
"participants": [
{
"email": "name@gmail.com",
"status": "UNKNOWN",
"owner": true
}
],
"calendarProvider": "GOOGLE"
}
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all emails stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
2021-08-16T15:22:13.823ZMin value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Allows you to export all emails for a specific patient. If you need to export records for multiple patients, their IDs should be entered separated by commas.
Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/EMAIL HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"updatedByName": "text",
"sendNow": true,
"sentAt": "2026-01-01T00:00:00.000Z",
"receivedAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"date": "2026-01-01T00:00:00.000Z",
"careTeam": "text",
"patientInfo": "text",
"sender": "123e4567-e89b-12d3-a456-426614174000",
"senderType": "CS_TOOL_CLIENT",
"senderName": "text",
"from": "text",
"receiver": "123e4567-e89b-12d3-a456-426614174000",
"receiverType": "CS_TOOL_CLIENT",
"receiverName": "text",
"to": "text",
"direction": "OUT",
"externalId": "text",
"starred": true,
"errorMessage": "text",
"assignedBy": "123e4567-e89b-12d3-a456-426614174000",
"assignedByName": "text",
"hasHistory": true,
"unrecognized": true,
"subject": "text",
"body": "text",
"emailEditorJson": "text",
"status": "SCHEDULED",
"secure": false,
"attachments": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"originalName": "text",
"size": 1,
"contentType": "text",
"storageKey": "text"
}
],
"attachmentsFromTemplate": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"originalName": "text",
"size": 1,
"contentType": "text",
"storageKey": "text"
}
],
"bodyAttachments": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"originalName": "text",
"size": 1,
"contentType": "text",
"storageKey": "text",
"url": "https://example.com",
"thumbnailUrl": "https://example.com"
}
],
"messageType": "CARE_TEAM",
"bodyType": "PLAIN_TEXT",
"inReplyTo": "text",
"messageId": "text",
"skipEvent": true
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all tasks stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
Min value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/TASK HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"updatedByName": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"name": "text",
"description": "text",
"dueDate": "2026-01-01T00:00:00.000Z",
"status": "TODO",
"priority": "LOW",
"patient": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
},
"assignee": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"enabled": true
},
"watchers": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"enabled": true
}
],
"comments": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2026-01-01T00:00:00.000Z",
"author": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"enabled": true
},
"text": "text",
"patient": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
},
"user": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
}
}
],
"goalId": "123e4567-e89b-12d3-a456-426614174000",
"templateName": "text",
"createdType": "AUTOMATION",
"sourceId": "123e4567-e89b-12d3-a456-426614174000",
"sourceType": "ASSESSMENT",
"hiddenPhi": true,
"watchersType": "POINT_OF_CONTACT"
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all assessments stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
Min value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Allows you to export all assessments for a specific patient. If you need to export records for multiple patients, their IDs should be entered separated by commas.
Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/ASSESSMENT HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"finalizedDate": "2026-01-01T00:00:00.000Z",
"assessmentName": "text",
"assessmentTitle": "text",
"assessmentCdtName": "text",
"version": 1,
"patientId": "123e4567-e89b-12d3-a456-426614174000",
"status": "text",
"cdtRecordId": "123e4567-e89b-12d3-a456-426614174000",
"scoringRecordId": "123e4567-e89b-12d3-a456-426614174000",
"answers": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"scoring": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"questions": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all assessments sent to the patient
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
Min value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/PFA HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all encounters stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
Min value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Allows you to export all CDT records for a specific patient. If you need to export records for multiple patients, their IDs should be entered separated by commas.
Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/ENCOUNTER HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"patientId": "123e4567-e89b-12d3-a456-426614174000",
"cdtId": "123e4567-e89b-12d3-a456-426614174000",
"version": 1,
"cdtName": "text",
"jsonBody": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all encounter comments stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
Min value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/ENCOUNTER_COMMENT HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"createdByName": "text",
"updatedByName": "text",
"encounterId": "123e4567-e89b-12d3-a456-426614174000",
"text": "text"
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all encounter dispositions stored in database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
Min value is 1, max value is 500. If the parameter is not specified, the page size will be 500
20Allows you to export all CDT records for a specific patient. If you need to export records for multiple patients, their IDs should be entered separated by commas.
Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/ENCOUNTER_DISPOSITION HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"patientId": "123e4567-e89b-12d3-a456-426614174000",
"cdtId": "123e4567-e89b-12d3-a456-426614174000",
"version": 1,
"cdtName": "text",
"jsonBody": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Exports all automation audit records stored in the database
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
Min value is 1, max value is 1000. If the parameter is not specified, the page size will be 1000
20Allows you to retrieve records for a specific status only. Available values failure, success, conditions_check_failed
Cursor-paginated export data (generic placeholder).
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/automation-audit HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}This endpoint allows you to retrieve an export of contact data from the specified tenant and instance. The exported data will be in a format suitable for further analysis or integration with other systems.
Request
Method: GET
URL:
{{url}}/{{tenantName}}/{{instanceName}}/export/CONTACT
Response
The response will contain the exported contact data in a suitable format, typically JSON.
Example
Request:
arduinoCopy codeGET {{url}}/{{tenantName}}/{{instanceName}}/export/CONTACT
Response:
perlCopy code{
"contacts": [
{
"id": "1",
"name": "John Doe",
"email": "johndoe@example.com",
"phone": "123-456-7890"
},
{
"id": "2",
"name": "Jane Smith",
"email": "janesmith@example.com",
"phone": "987-654-3210"
},
...
]
}
Error Codes
404 Not Found: The specified
{{tenantName}}or{{instanceName}}does not exist.
Authentication
Make sure to include appropriate authentication credentials, such as an API key or token, in the request headers for accessing this endpoint.
Rate Limiting
This endpoint may be subject to rate limiting. If you encounter rate limit errors, please wait for a suitable period of time before making additional requests.
Notes
This endpoint is specifically designed for exporting contact data. If you need to export data of a different type, refer to the corresponding endpoint documentation.
Ensure that you have the necessary permissions and access rights to retrieve contact data from the specified
{{tenantName}}and{{instanceName}}.
Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
live2022-11-07T16:52:35.410Z20Example: 5Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/CONTACT HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByName": "text",
"updatedByName": "text",
"name": "text",
"email": "name@gmail.com",
"emailLabel": "text",
"emailPdtFieldName": "text",
"phone": "text",
"phoneLabel": "text",
"phonePdtFieldName": "text",
"secondaryPhone": "text",
"secondaryPhoneLabel": "text",
"secondaryPhonePdtFieldName": "text",
"patientId": "123e4567-e89b-12d3-a456-426614174000",
"pdtRecordId": "123e4567-e89b-12d3-a456-426614174000",
"relation": "text",
"active": true
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Bearer token obtained from POST /{tenantName}/admin/api_clients/{clientName}. Valid for 60 minutes.
Your organization (tenant) name, e.g. acme-health
acme-healthYour environment name: live, sandbox, or a custom name
liveUsed as a cursor for fetching data from the database. If the parameter is not specified, the selection will start from the oldest record
2024-08-09T11:44:39.289ZAllows you to export all document summary records for a specific patient. If you need to export records for multiple patients, their IDs should be entered separated by commas.
Cursor-paginated export data.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
GET /{tenantName}/{instanceName}/export/DOCUMENT_SUMMARY HTTP/1.1
Host: api.live.welkincloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"patientId": "123e4567-e89b-12d3-a456-426614174000",
"cdtId": "123e4567-e89b-12d3-a456-426614174000",
"version": 1,
"cdtName": "text",
"jsonBody": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"cursor": {
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"hasNext": true,
"pageSize": 1
}
}Last updated
Was this helpful?