Step 4: Call API Endpoints

Now that you have a valid access_token, you can start using the Beam API. To make an authenticated request of one of the Beam API endpoints, the Authorization header must be supplied:

POST /api/oauth/v1/endpoints/sync  HTTP/1.1
Host: https://garageio.com
Content-Type: application/json
Accept: application/json
Authorization: Bearer <ACCESS_TOKEN>
Accept-Charset: utf-8
Accept-Encoding: gzip

where <ACCESS_TOKEN> is a valid access token for the given user. The Beam service will return with a JSON response.

Hint: All Beam API endpoints accept JSON bodies in the request and/or return JSON bodies in the responses.

Using a prototype tool to test? If you are using a tool, such as POSTMAN to test, read Using RESTful Tools section for known issues.

Last updated