manufacturing-v1

Mint a key. The full key is returned once, here; only its hash is stored. Leave scopes empty for a key that can do everything.

post/v1/api-keys

Request

  • Base URL
    https://api.rmfg.com
  • URL
    https://api.rmfg.com/v1/api-keys
  • Auth
    HTTP bearer

Request body

namestring required

A label for people.

scopesstring[]

Restrict what the key may call. Empty means every scope. designs covers analyze, design reads, models, images, and review links; dfm, quotes, carts, orders, and webhooks cover those resources. Catalogs need no scope.

Response

Successful Response

idstring required
object'api_key'
namestring nullable
prefixstring required

First characters of the key, for display.

scopesstring[]
keystring nullable

The full key; shown once when created and never stored.

created_atstring date-time required
last_used_atstring date-time nullable
revoked_atstring date-time nullable

Changes