Repository files navigation
Create/Generate Auth Token
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 . bongochat . app / 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
{"result": {"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/
About
Open Authorization for BongoChat API
Resources
License
Stars
Watchers
Forks
You can’t perform that action at this time.