Service Accounts

Create a service account API key

Mints a new API key for a service account and returns the one-time key value. The value is shown only once and cannot be retrieved later.

post/api/v0/service-accounts/{serviceAccountId}/api-keys

Request

  • Base URL: https://api.factory.ai
  • URL: https://api.factory.ai/api/v0/service-accounts/{serviceAccountId}/api-keys
  • Auth: HTTP bearer

Path parameters

serviceAccountIdstring required

Service account ID

Request body

namestring required
expiresAtinteger

Response

Response for status 201

Changes

No recorded changes to this operation across all 46 revisions of this API.