Create workspace API key
Create an API key for a specific workspace. The key can be used to access workspace-specific endpoints.
POST
/workspaces/{workspaceId}/api-keysAuthorization
AuthorizationBearer token · headerrequiredCompany API key (starts with ord_c_)
Path parameters
workspaceIdstring<uuid>requiredRequest body
requiredapplication/jsonnamestringrequiredmin length 1
Responses
200
OK
idstring<uuid>requirednamestringrequiredkeyHintstringrequiredkeystringrequiredcreatedAtstring<date-time>required400
Bad Request - Invalid input parameters
codestringmessagestringerrorsobject401
Unauthorized - User is not authenticated
statusnumbermessagestring404
Not Found - Resource does not exist
codestringmessagestring