Skip to navigation

Get a user's products

View as Markdown

Returns a list of Forma products the user is associated with in their assigned projects.

Only hub administrators can call this endpoint.

Note: This operation is forward compatible. Autodesk may add attributes to the response without prior notice, so your app should ignore any attribute it does not recognize.

Authentication

AuthorizationBearer

OAuth 2.0 (2-legged) — application context required.

Client Credentials Flow

Token URL: https://developer.api.autodesk.com/authentication/v2/token

Scopes:

  • account:read — read account and project data
  • account:write — modify account and project data
  • data:read — read data the application can access
OR
AuthorizationBearer

OAuth 2.0 (2-legged with impersonation) — application context with user impersonation required. Send a User-Id header identifying the member to act on behalf of; the token authorizes the application, while the operation is evaluated against that member’s project permissions.

Client Credentials Flow

Token URL: https://developer.api.autodesk.com/authentication/v2/token

Scopes:

  • account:read — read account and project data
  • account:write — modify account and project data
OR
AuthorizationBearer

OAuth 2.0 (3-legged) — user context required. Also accepts a Secure Service Account (SSA) token, which is headless like a two-legged flow but classified as three-legged because it preserves user context.

Authorization Code Flow

Authorization URL: https://developer.api.autodesk.com/authentication/v2/authorize

Token URL: https://developer.api.autodesk.com/authentication/v2/token

Refresh URL: https://developer.api.autodesk.com/authentication/v2/token

Scopes:

  • data:read — read your data
  • account:read — read account and project data
  • account:write — modify account and project data

Path parameters

accountIdstringRequiredformat: "uuid"

The ID of the hub that contains the projects. This corresponds to the hub ID used in the Data Management API, with the “b.” prefix removed. For example, b.c8b0c73d-3ae9 becomes c8b0c73d-3ae9.

userIdstringRequiredformat: "uuidOrAutodeskId"

The ID of the user. To find the ID call GET users. You can use either the Forma ID (id) or the Autodesk ID (autodeskId).

Headers

Accept-LanguagestringOptionalDefaults to en
This header is not currently supported in the hub Admin API.
RegionstringOptional

Specifies the region where your request should be routed. If not set, the request is routed automatically, which may result in a slight increase in latency.

Possible values: US, EMEA. For a complete list of supported regions, see the Regions page.

User-IdstringOptionalformat: "uuidOrAutodeskId"

The ID of a user on whose behalf your request is acting.

Your app has access to all users specified by the administrator in the SaaS integrations UI. Provide this header value to identify the user to be affected by the request.

You can use either the user’s Forma ID (id), or their Autodesk ID (autodeskId).

Note that this header is required for hub Admin POST, PATCH, and DELETE endpoints if you want to use a 2-legged authentication context. This header is optional for hub Admin GET endpoints.

Query parameters

filter[projectId]list of stringsOptional
A list of project IDs. Only results where the user is associated with one or more of the specified projects are returned.
filter[key]list of stringsOptional

Filters the list of products by product key — a machine-readable identifier for a Forma product (such as docs, build, or cost).

You can specify one or more keys to return only those products the user is associated with.

Example: filter[key]=docs,build

Possible values: accountAdministration, autoSpecs, build, buildingConnected, capitalPlanning, cloudWorksharing, cost, designCollaboration, docs, financials, insight, modelCoordination, projectAdministration, takeoff, and workshopxr.

fieldslist of enumsOptional

List of fields to return in the response. Defaults to all fields.

Possible values: projectIds, name and icon.

Allowed values:
sortlist of enumsOptional

The list of fields to sort by.

Each property can be followed by a direction modifier of either asc (ascending) or desc (descending). The default is asc.

Possible values: name.

Default is the order in database.

Allowed values:
limitintegerOptional>=1Defaults to 20

The maximum number of records to return in the response.

Default: 20

Minimum: 1

Maximum: 200 (If a larger value is provided, only 200 records are returned)

offsetintegerOptional>=0Defaults to 0

The index of the first record to return.

Used for pagination in combination with the limit parameter.

Example: limit=20 and offset=40 returns records 41–60.

Response headers

RateLimit-Remaininginteger

The number of requests remaining in the current rate-limit window.

RateLimit-Valueinteger
The maximum number of requests that the server is willing to accept during the current full minute
Request-IdstringOptional
The unique ID of the request, which can be provided when reporting issues with this endpoint.
Response-TimestringOptional
The time taken to generate the response.

Response

A list of products associated with the user
paginationobjectOptional
Contains pagination details for the records returned by the endpoint.
resultslist of objectsOptional
A list of Forma products the user is associated with.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
406
Not Acceptable Error
410
Gone Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error