API Keys

Creates an API key for the current user

put/v1/apikeys

Request

  • Base URL
    https://api.streak.com/api
  • URL
    https://api.streak.com/api/v1/apikeys
  • Auth
    HTTP bearer

Query parameters

teamKeystring nullable

Response

OK

apiKeystring required

The API key secret value.

keystring required

Key for this API key.

creationTimestampinteger required

Timestamp when this API key was created, in epoch milliseconds.

lastSavedTimestampinteger required

Timestamp when the last time this key was modified, in epoch milliseconds.

keyType'USER' | 'TEAM' required
teamKeystring nullable

Team this key can impersonate members of. Only present for team keys.

Example response

{
  "creationTimestamp": 1646870400000,
  "lastSavedTimestamp": 1646870400000
}

Changes