Skip to content
Docs

Creating an Autodesk Platform Services app

This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.

Distilled from Autodesk’s own material: the APS developer documentation, the OAuth v2 developer’s guide, Autodesk’s published OpenAPI specifications (Apache-2.0) and the OIDC discovery document Autodesk serves at https://developer.api.autodesk.com/.well-known/openid-configuration. Retrieved 2026-08-25.

  1. Sign in at aps.autodesk.com with an Autodesk account and open the developer portal.
  2. Create an app. Autodesk issues a Client ID and Client Secret.
  3. Choose which APIs the app may use. For extracting quantities or properties out of a model you need at least Model Derivative and Data Management; add Object Storage (OSS) if you will upload files yourself rather than reading them out of Autodesk Docs, and Webhooks if you want change events instead of polling.
  4. Register the callback URL the user is returned to after consent. It must match the redirect_uri you send.
  5. Copy the Client ID and Client Secret. Store the secret in a vault — it is a confidential-client credential.

Decide which flow you need, because APS has two and they are not interchangeable

Section titled “Decide which flow you need, because APS has two and they are not interchangeable”
  1. Autodesk’s discovery document advertises authorization_code, client_credentials and refresh_token. Every published APS specification declares two security schemes over the same scopes, 2-legged and 3-legged:

    • 3-legged (authorization_code) — a user consents and the token acts as them. Required for anything reaching a customer’s Autodesk Docs or BIM 360 content, because the permissions are theirs.
    • 2-legged (client_credentials) — the app acts as itself, with no user. This is the normal choice for a translation job against a file you already control, and it is the one that keeps a background pipeline running when nobody is logged in.

    Both are the same auth system here; they differ only in whether a user consented.

  2. Send the user to the authorization endpoint with the scopes you need:

    https://developer.api.autodesk.com/authentication/v2/authorize?
    client_id={client_id}
    &response_type=code
    &redirect_uri={redirect_uri}
    &scope=data:read data:write viewables:read

    Autodesk publishes sixteen scopes: user-profile:read, user:read, user:write, viewables:read, data:read, data:write, data:create, data:search, bucket:create, bucket:read, bucket:update, bucket:delete, code:all, account:read, account:write and openid. Ask for the narrow ones — data:read and data:search cover most reading, and bucket:delete is rarely wanted by an integration.

  3. If you are using PKCE, use S256. Autodesk advertises code_challenge_methods_supported: ["S256"] and does not offer plain.

  4. Exchange the code at https://developer.api.autodesk.com/authentication/v2/token, authenticating the client with HTTP Basic (client_secret_basic; client_secret_post is also accepted). Read expires_in from the response rather than assuming a lifetime — Autodesk does not publish a fixed constant in the specification.

  1. For a 3-legged token, the user-info endpoint confirms it:

    Terminal window
    curl 'https://api.userprofile.autodesk.com/userinfo' \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer {access_token}'

    Note the host. It is api.userprofile.autodesk.com, not developer.api.autodesk.com — Autodesk declares a server override on this one operation. Joining /userinfo to the usual base URL gives a 404 that looks exactly like a rejected credential. A 2-legged token has no user behind it, so this check does not apply to one.

  2. To hand a grant back, POST https://developer.api.autodesk.com/authentication/v2/revoke in the standard RFC 7009 form.

Before you build anything on Model Derivative

Section titled “Before you build anything on Model Derivative”
  1. It is metered. Autodesk bills Model Derivative activity, and activities that were once free are now charged. A flow that translates on every drawing revision has a cost curve — size it before committing to it, not after.
  2. It is asynchronous. Translation is submit-then-poll against the job manifest, not a request that returns an answer. That is a different flow shape from every other API here, and it needs somewhere to keep job state between the submit and the result.

Open Connections under Credentials, choose Autodesk, and pick Autodesk Platform Services OAuth 2.0 (authorization code). Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.

See also: Autodesk in the catalog.

This guide is maintained by Publicus and published under CC BY 4.0.