Generate API Credentials

Client credentials are the recommended way for backend services, data pipelines, and LMS integrations to authenticate with the Udacity Public API. Client credentials are company-scoped, can be rotated programmatically, and generate short-lived tokens that expire automatically.

Prerequisites

  • You must be a Company Admin in the Udacity Management Portal.
  • Your company must have an active Udacity Enterprise subscription.

Steps

1. Open the API Credentials page

Navigate to your company’s API Credentials settings in the Management Portal:

https://manage.udacity.com/c/<your-company-slug>/settings/api-tokens

Replace <your-company-slug> with your company’s URL slug (e.g., acme-corp).

Open Udacity Management Portal

2. Create a new client credential

  1. Click Create Client Credential.
  2. The credential will be automatically scoped to your company. If you are an admin of multiple companies, you may scope a single credential to more than one company.
  3. Click Create.

3. Copy and securely store your credentials

Important: The full Client Secret is shown only once at creation time. Copy it immediately and store it securely (e.g., in a secrets manager or environment variable). Subsequent views show only a redacted hint (e.g., udcs_••••••••a1b2).

You will receive:

FieldFormatDescription
clientIdudcl_<32 hex chars>Public identifier for your credential
clientSecretudcs_<random>Secret used to generate tokens — store this securely

Credential scopes

Once a token is generated from a credential, it carries a COMPANY scope automatically — no manual scope configuration is required.

What’s next