Generate authentication token

POST/auth/token

Generates a JWT token using Basic Authentication with API credential client ID and secret.

RequiresBearerauthentication
Returns  

Successfully generated token

Response fields

tokenstringrequired

JWT token to be used for subsequent authenticated requests

POSTRequest
curl -X POST 'https://experiment.app.pheno.ml/auth/token' \
  -H 'Authorization: Bearer YOUR_API_KEY'
200 OKResponse
{
  "token": "eyJhbGciOiJSUzI1NiJ9..."
}