My Offices API

GET
The GET method returns an array of the offices the user is member of. The domainoffice (“Home”) is always included and listed first.

 

GET viadesk.com/api/myoffices.json

response body:

[
    {
        "id": "1-646f6d61696e6f6666696365",
        "name": "Home"
    },
    {
        "id": "8672-6f6666696365",
        "name": "Developers"
    },
    {
        "id": "407102-6f6666696365",
        "name": "Mobile Development"
    },
]