API Keys

Create a new API key

Creates a new API key for the authenticated user. The complete API key is returned only once and cannot be retrieved later.

post/v1/apikeys

Request

  • Base URL
    https://api.timesheet.io
  • URL
    https://api.timesheet.io/v1/apikeys
  • Auth
    • HTTP bearer
    • or API key in header Authorization

Request body

namestring
permissionsstring
expirationDaysinteger

Response

API key created successfully

idstring
namestring
keystring
activeboolean
expiresAtstring date-time
permissionsstring
createdinteger

Changes

No operation changes recorded.