POST
/
api/oauth/access-token/v1/
https://oauth.bongo.chat/api/oauth/access-token/v1/
name type data type description grant_type required string N/A phone_number required string N/A password required string N/A
http code content-type response 201
application/json
Token created successfully
401
application/json
{"message": "Wrong password","display_message": "Wrong password","status": 401,"error": "unauthorized","causes": null}
405
text/html;charset=utf-8
None
curl -X POST -H "Content-Type: application/json" --data @post.json https://oauth.bongo.chat/api/oauth/access-token/v1/
GET
/
api/oauth/1/verify-token/v1/
https://oauth.bongo.chat/api/oauth/<user_id>/verify-token/v1/
http code content-type response 200
application/json
{"data": {"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9","user_id": 5,"date_created": "2024-0115T10:16:24.084Z"},"status": 200}
401
application/json
{"message": "Wrong password","display_message": "Wrong password","status": 401,"error": "unauthorized","causes": null}
405
text/html;charset=utf-8
None
curl -X POST -H "Content-Type: application/json" --data @post.json https://oauth.bongo.chat/api/oauth/<user_id>/verify-token/v1/