Create API key
Creates a new API key for the current user
Request body
Action verbs the key may perform (at least one). read is required whenever any broader action is selected. Pass all four actions for a full-access key.
Which of the owner's libraries a grant covers.
all_libraries means all current and future live libraries owned by the grant's user. selected_libraries means only the libraries listed in access_grant_libraries, with no automatic expansion.
Libraries the key covers. Required (at least one) when library_scope_mode is selected_libraries; not allowed otherwise. Up to 200 ids.
Response
Successful Response
Unique API key identifier with 'apikey_' prefix
Optional descriptive name for this API key
When this API key was created
When this API key was last used for authentication
Whether this API key is currently valid and can be used
Action verbs this key's grant allows; null for legacy keys
Which of the owner's libraries a grant covers.
all_libraries means all current and future live libraries owned by the grant's user. selected_libraries means only the libraries listed in access_grant_libraries, with no automatic expansion.
Number of libraries a 'selected_libraries' grant covers; null unless library_scope_mode is 'selected_libraries'
The actual API key value - store this securely as it cannot be retrieved later