Create a dpk_ key whose secret is returned exactly once

Trial and eligible paid plans can issue supervised write keys. Existing read-only keys keep their original scopes. Store the returned secret directly in the client credential store; never paste it into a chat.

post/projects/{projectId}/api-keys

Request

  • Base URL: https://platform.digitalpublic.com/api/commercial
  • URL: https://platform.digitalpublic.com/api/commercial/projects/{projectId}/api-keys
  • Auth: API key in cookie authjs.session-token

Path parameters

projectIdstring required

Request body

namestring required
scopesstring[]

Response

One-time dpk_ secret and MCP configuration

Changes

No recorded changes to this operation across all 1 revision of this API.