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.net/api/v1/site

Sample Response

1
[
2
{
3
"id":"1",
4
"name":"Finance",
5
"manager":"Jack Broad",
6
"apps":[
7
{
8
"app_id":"1",
9
"name":"Application 1"
10
},
11
{
12
"app_id":"2",
13
"name":"Application 2"
14
}
15
]
16
},
17
{
18
"id":"2",
19
"name":"Project Management",
20
"manager":"John Gill",
21
"apps":[
22
{
23
"app_id":"3",
24
"name":"Application 3"
25
},
26
{
27
"app_id":"4",
28
"name":"Application 4"
29
}
30
]
31
}
32
]
Copied!
Last modified 10mo ago