Links

List Sites

Get information about all sites
URL : /api/v1/site Method : GET

Parameters:

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

Sample Request

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

Sample Response

[
{
"id":"1",
"name":"Finance",
"manager":"Jack Broad",
"apps":[
{
"app_id":"1",
"name":"Application 1"
},
{
"app_id":"2",
"name":"Application 2"
}
]
},
{
"id":"2",
"name":"Project Management",
"manager":"John Gill",
"apps":[
{
"app_id":"3",
"name":"Application 3"
},
{
"app_id":"4",
"name":"Application 4"
}
]
}
]