Skip to main content
Apps API requests authenticate with a personal access token. Many endpoints also accept a workspace API key. Include a personal access token as a Bearer token in the Authorization header with every request:
A personal access token acts as you, within the workspace it was created in. Each endpoint is authorized by your own permissions and the token’s settings, so a request only succeeds for an app you and the token can reach and an action you are both allowed to take. Deploying an app, for example, requires permission to publish it and a token with Full access.
Moving from an account API key?Personal access tokens replace account API keys. Since October 15, 2026, you can’t view or create an account API key, and existing keys are being switched off gradually. Replace the api_key: YOUR_API_KEY header with Authorization: Bearer YOUR_PERSONAL_ACCESS_TOKEN. A token sent in the api_key header is rejected. See moving from account API keys.

Get a personal access token

You create personal access tokens in the Secrets section of your workspace settings, and choose what each token can reach and do. See Creating an access token for the steps.
Your personal access token acts as your Base44 account. Treat it like a password, don’t share it, and don’t commit it to version control.

Use a workspace API key

On an Enterprise workspace, owners and admins can create workspace API keys in the Secrets section of the workspace settings. A workspace API key belongs to the workspace rather than to a person, so it keeps working when people leave. Send it in the api_key header, or as a Bearer token in the Authorization header:
What the key can call depends on the access it was created with:
  • Workspace-wide access: The key acts as the workspace owner, across every app in the workspace. A Read-only key can call the same endpoints as a read-only personal access token. A Full access key can call every endpoint that accepts workspace API keys. See Using workspace-wide access.
  • Specific scopes: The key can call only the endpoints its scopes cover, such as Deploy an app with Deploy apps, or Provision an app user with Provision app users.
Not every endpoint accepts a workspace API key. Each endpoint’s reference page lists the credentials it accepts.

Example request

The request body is optional. Omit checkpoint_id to deploy the app’s current version.