Connection Tokens
Generate connection token
This endpoint lets you generate a connection token to authenticate a user without having to indicate its credentials. To be able to generate a connection token for a user, you need to have WRITE access on that user and that user cannot have PROVIDER role. A connection token is valid only once and has a time to live of maximum one day.
post/connection/generate_token
Request body
Example request
{
"user_id": "5309c3a237bbc544d8e26737",
"ttl": 3600
}Response
OK
Example response
{
"token": "\\xaf3e8951c1f4c42f9cc53116b3fc855bd44bce01cf27604b",
"expiration_date": "2019-08-01T19:15:54.256000+02:00"
}