Skip to main content
POST
Obtain an API token.

Body

application/json
id
string

Identify the application through token.

Example:

"myApp"

password
string

The Freedeck server's password

Example:

"fd.093153af95a8ea96bd0526030a782691d3f001d2eb6996af86852bd202b73275654761ae8aac1c32d2e675c75088da8425f4bf4ac7061561af64e38314ff1f2e"

preHashed
boolean

State if your given password is already hashed (with the prefix "fd.")

Example:

true

Response

200 - application/json

OK

token
string
Example:

"fd.a3dafc9d044e40fae380f9789567b"

given
number

When the API token was issued (created hash) on the server.

Example:

1754299957498

expiresAt
number

When the API token will expire. Upon expiry, the token is granted 1 final use.

Example:

1754299987502