Public API
  1. Offices
Public API
  • Welcome to the deskbird Public API
  • Users
    • Lists company users
      GET
    • Lists single company user
      GET
  • Bookings
    • Lists company bookings
      GET
    • Lists single company booking
      GET
  • Groups
    • Lists company user groups
      GET
    • Lists single company user group
      GET
  • Resources
    • Lists company resources
      GET
  • Offices
    • Lists company offices
      GET
    • Check User into Office
      POST
  1. Offices

Lists company offices

GET
/offices
Offices
Returns company offices

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
ids
string 
optional
Comma separated list of office ids
Example:
22345,22346
Header Params
Authorization
string 
required
Public API key for the company

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://connect.deskbird.com/offices' \
--header 'Authorization;'

Responses

🟢200OK
application/json
Body
data
array[object (OfficeResponse) {3}] 
required
The list of offices
Example:
[{}]
id
string 
required
The ID of the office
Example:
1234
name
string 
required
The name of the office
Example:
Office 1
address
object 
required
The address of the office
Example
{
  "data": [
    {}
  ]
}
🟠401Unauthorized
🟠403Forbidden
Previous
Lists company resources
Next
Check User into Office
Built with