English
cURL
curl --request POST \ --url https://eu.phrase.com/smt/api/v1/auth/login \ --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.
Show child attributes
Successful login.
Bearer
Was this page helpful?