Skip to main content

/tokens

We created authentication tokens so you wouldn't have to use your email and password when integrating with our API.

POST /tokens

Creates a token.

info

You will not be able to see the tokenSecret property after creation! Store it in a safe place.

http POST https://api.fyma.ai/tokens
{
"tokenId": "3b2bc0e9-9bc6-4849-9f09-8f6db26c9a9c",
"tokenSecret": "701d725eed956004e478fd83976465522a088e1ae779365ba1edddac08757eb2"
}

GET /tokens

List existing tokens.

http GET https://api.fyma.ai/tokens
[
{
"id": "3b2bc0e9-9bc6-4849-9f09-8f6db26c9a9c"
}
]

DELETE /tokens/{tokenId}

Deletes a token.

http DELETE https://api.fyma.ai/tokens/3b2bc0e9-9bc6-4849-9f09-8f6db26c9a9c