Your first API calls
Use the OpenAPI without any SDK, from curl or any HTTP client: log in with an API token, list your tree, run a query and read the result.
The OpenAPI is the HTTP face of BIM.works: JSON in, JSON out, a bearer token in the header. It covers the everyday operations of the repository (authentication and delegated tokens, the node tree, uploads and downloads, queries, checks, comparisons, transactions and CityGML export); the SDKs cover more, over their own transport. When your language has no SDK, or an HTTP call is simply the shortest route, this is the API to use.
The course is one page, Getting started, and takes you through five calls in the order you would make them in a real integration. Each call is an executor you edit and send from the page, with the same call as a snippet in curl or your language; the reference page of every operation is one click away, and the API part describes the whole surface, including the scopes each operation needs.
You need an API token for an account with access to the demo folder; Create an API token shows where to create one.
Pages#
- Getting startedFind the API, exchange an API token for an auth token, list the tree, query a model and download an original file, with curl.