WorkSmart Dev
HomeSign In
  • Introduction
  • REST Web API
    • Oauth 2.0 Authorization
      • Authorization Code Flow
      • Token (Auth Code Flow)
      • Token (Client Credentials)
    • Records
      • Create Record
      • Read Record
      • Update Record
      • Delete Record
      • Read Records By View
      • Add Comment
      • Add Attachment
      • Download Attachment
    • List Sites
    • Columns
      • List of Columns
  • Webhook
    • Configure a Webhook
Powered by GitBook
On this page
  • Parameters
  • Sample Request
  • Sample Response

Was this helpful?

  1. REST Web API
  2. Records

Read Record

Read record for an application using record id:

URL : /api/v1/app/{app_id}/record/{record_id} Method : GET

Parameters

access_token (required, header parameter) Send this as header – e.g.“Authorization: Bearer access_token”

app_id (required, path parameter) Application Id App for where the record is present

record_id (required, path parameter) ID of the record you want to fetch

Sample Request

curl -H "Authorization: Bearer {access_token}" https://my.worksmart.app/api/v1/app/1234/record/1

Sample Response

{
   "data":{
      "f1":"Test Record"
   },
   "metadata":[
      {
         "app_id":"1234",
         "field_id":"f1",
         "field_name":"Test Field",
         "field_description":"",
         "type":"0",
         "type_name":"Text Field",
         "position":"2",
         "required":"1"
      }
   ]
}
PreviousCreate RecordNextUpdate Record

Last updated 3 years ago

Was this helpful?