# Create a key **POST /keys** Create a key ## Servers - Production server: https://api.statebacked.dev (Production server) ## Authentication methods - Bearer auth ## Parameters ### Body: (object) Create a key - **name** (string) - **scopes** (array[string]) An authorization scope associated with a key. Any request that is signed by a JWT with this key will have access to the scopes associated with that key. - **use** (string) The intended use for this key. This is a shorthand way to set a reasonable set of scopes. You must either pass `scopes` or `use`. ## Responses ### 200 New key #### Body: (object) - **id** (string) An identifier for a key - **key** (string) [Powered by Bump.sh](https://bump.sh)