Public API
  1. Resources
Public API
  • Welcome to the deskbird Public API
  • Users
    • Lists company users
      GET
    • Lists single company user
      GET
  • Bookings
    • Lists company bookings
      GET
    • Creates booking
      POST
    • Lists single company booking
      GET
    • Updates booking
      PATCH
    • Cancels booking
      PATCH
    • Check in to the booking
      PATCH
    • Early release the booking
      PATCH
  • Groups
    • Lists company user groups
      GET
    • Lists single company user group
      GET
  • Resources
    • Get a resource by id
      GET
    • Lists company resources
      GET
  • Offices
    • Lists company offices
      GET
    • Check User into Office
      POST
  • Scheduling
    • Lists company scheduling
      GET
    • Delete scheduling statuses by IDs
      DELETE
    • Add new scheduling statuses for a user
      POST
  • Scheduling Options
    • Lists company scheduling options
      GET
  1. Resources

Get a resource by id

GET
/resources/{id}
Returns a resource by id

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Request Code 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/resources/' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
Resource matching the provided id
Body

Example
{
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "type": "flexDesk",
    "capacity": 1,
    "name": "Flex Desk 1",
    "description": "Flex Desk 1",
    "status": "active",
    "zoneId": "12",
    "officeId": "ca99dd78-2efb-49eb-a254-be0e3d56ca15",
    "accessInfo": {
        "type": "SHARED"
    },
    "createdAt": "2021-01-01T00:00:00.000Z",
    "updatedAt": "2021-01-01T00:00:00.000Z"
}
🟠401Unauthorized
🟠403Forbidden
Previous
Resources
Next
Lists company resources
Built with