Auth Token Api
- The Following sample code is an example of Getting Auth Token
Auth Token Request Payload
Method Type - POST
Auth Request URL - https://messagingapi.charteredinfo.com/AuthTokenV1/AuthToken
Auth Token Request Headers - Content-Type: application/json
| {
"userId": "{{Email}}",
"password": "{{Password}}"
}
|
Responses
Code |
Description |
200 |
Success |
400 |
Bad Request |
Sample Json Response from Server
| {
"isSuccess": true,
"txnOutcome": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJIb3N0SWQiOiIwIiwiQ2xpZW50SWQiOiIzMTI0MiIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJhYmhheWpvLm5ncEBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiJXYWJhIiwiZXhwIjoxNzE2OTAzODU3LCJuYmYiOjE3MTY4ODIyNTd9.QxVUPIOfAowLFFJJYj9GrypDSwE1IB130xO-_faJKJo"
}
|