Get Token
POST
/user-service/api/v1/auth/client-api-login
Account
Request
Body Params application/json
email
string <email>
required
Example:
john.doe@gmail.com
password
string <password>
required
Example:
pasWTword@123
clientKey
string <password>
required
Example:
3323-xd-2323-2323
clientSecret
string <password>
required
Example:
SKD4E-49944-DK4SKF-TPDS
Example
{
"email": "john.doe@gmail.com",
"password": "pasWTword@123",
"clientKey": "3323-xd-2323-2323",
"clientSecret": "SKD4E-49944-DK4SKF-TPDS"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-gateway-uat.mmacs.io/platform/user-service/api/v1/auth/client-api-login' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "john.doe@gmail.com",
"password": "pasWTword@123",
"clientKey": "3323-xd-2323-2323",
"clientSecret": "SKD4E-49944-DK4SKF-TPDS"
}'
Responses
🟢200OK
application/json
Body
token
string
optional
Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Example
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
🟠401Unauthorized