Skip to content

REST API reference

API overview · GraphQL reference

Use the endpoint explorer below to browse REST v2 operations by resource, inspect request bodies, and review response schemas. Use Filter by tag or path to find a resource group such as Projects or an endpoint containing reports.

Authentication

Base URL: https://api.preimage.ai/v2

REST requests use a bearer token in the Authorization header. Contact support@preimage.ai to arrange REST access and token setup for your integration.

Terminal window
curl 'https://api.preimage.ai/v2/workspace' \
--header "Authorization: Bearer $PREIMAGE_REST_TOKEN"

Set PREIMAGE_REST_TOKEN in your server-side environment to the token provided for your integration. The workspace API key used by GraphQL is a different credential.

In the explorer, choose Authorize and enter the token without the Bearer prefix. Authorization is kept only for the current page session. Try it out sends a real request to the production API; write operations change data and may start processing.

Explore endpoints

This reference covers selected workspace, project, scan, floor, report, transfer, and virtual tour operations. Available actions depend on your permissions and enabled features. Response schemas are shown where they are defined in the API specification.

Download the OpenAPI specification to use with compatible clients or code-generation tools.

Loading the endpoint explorer…

Endpoint index

Find an operation by its method and path. Expand it in the explorer for parameters and schemas.

Troubleshooting

ResponseWhat to check
400Required fields, parameter types, IDs, and request body format.
401Whether the bearer token is missing, invalid, or expired.
403Whether the authenticated account has permission for the workspace and operation.
404Whether the resource exists and the ID and route are correct.

If a browser request cannot reach the API, try the equivalent request from your server or terminal. Include the method, path, response status, and approximate request time when contacting support; remove tokens and signed URLs.