The ROOK Extraction app works by scanning QR codes or using universal links provided by ROOK to authenticate their session, where users can easily connect their health kits (SDKs) and data sources to the app. Once connected, the app securely sends the extracted data to ROOK, allowing clients to enhance their digital platforms with health data from their own users. This minimizes the need for direct user interaction while ensuring that all relevant data is transmitted and processed promptly after being received.
Create a New Request
Navigate to the New or Create Request section in Postman.
Select the HTTP Method
Choose the POST method from the dropdown menu.
Enter the API URL
Input the following API URL:
Configure the Request Body
Click on Raw and select the JSON option from the dropdown menu.
Add the following JSON body:
{
"user_id": "unique-user-identifier",
"metadata": {
"client_name": "Your Organization Name",
"tyc_url": "https://example.com/terms",
"support_url": "https://example.com/support",
"complete_log_out": false
},
"salt": "unique-security-string"
}
Optional Parameters:
If the complete_log_out parameter is not included in the metadata, the API will automatically set it to false.
The QR code can be generated without including the following optional parameters in metadata:
tyc_url
Support_url
If the support_url parameter is not configured, our application will redirect you to our support page.
Set Request Headers
βAdd the following headers to your request:Accept: application/json
Authorization: Bearer <your-token> or Basic Auth <your-token>
Send the Request
βClick on the Send button to submit the request. The response will contain:The QR code
A universal link
View the Response
βNavigate to the Response section in Postman to view the QR code and related content.