Chatbot POC
Chatbot POC
https://chatbot-api-poc.onrender.com
Required Headers
x-token: “8448b8bf-ae0e-4d1d-9724-fe81b249077f”
Endpoints
Refer to postman collection json for request body params.
POST /otp/send
Sends a mock OTP to the user
POST /otp/verify
Submits an OTP from the user for verification
- Set OTP to ‘000000’ for successful verification
- Set OTP to any other value for failed verification
GET /bills
Returns raw html of a bill
GET /users/:number/subscription/termination/eligibility
Checks a user’s termination eligibility
- Set number to 88888888 for eligibleForTermination = true
- Set number to 99999999 for eligibleForTermination = false
GET /users/:number/termination/dates
Retrieves a list of the user’s possible termination dates
POST /users/:number/termination/dates
Submits the user’s chosen termination date
- Set a date from GET /users/:number/termination/dates for a successful response
GET /users/:number/portin/status
Retrieves the user’s port in status. Provides a port in time within the last 12 hours.