English
cURL
curl --request POST \ --url https://eu.phrase.com/smt/api/v1/auth/login \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "userName": "<string>", "password": "<string>", "otpCode": "<string>", "organization": { "uid": "<string>" } } '
{ "token": "<string>", "tokenType": "Bearer", "expires": "<string>" }
DEPRECATED: Use as a fallback method only - Phrase Platform API tokens should be the preferred way. Returns information about the user with the token to be used in the Authorization header and its expiration date.
Provide Authorization header with token obtained through Login operation.
Authorization
Show child attributes
Successful login.
Bearer
Was this page helpful?