You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mplement an API endpoint for calling using the Twilio API. This endpoint should allow users to call their number specified # # # using the spring boot apllication
Acceptance Criteria
The endpoint should be accessible at POST /api/v1/call/make
The endpoint should accept HTTP POST requests.
The endpoint should call the number using the Twilio API
Description
mplement an API endpoint for calling using the Twilio API. This endpoint should allow users to call their number specified # # # using the spring boot apllication
Acceptance Criteria
The endpoint should be accessible at POST /api/v1/call/make
The endpoint should accept HTTP POST requests.
The endpoint should call the number using the Twilio API
sample of request payload in JSON
{
"toNumber": "+234..................",
"messageUrl": "https://demo.twilio.com/welcome/voice/xml"
}
the "messageUrl": "https://demo.twilio.com/welcome/voice/xml" points to twilio xml that returns "welcome this is a test call"
Sample of response in JSON
{
"message": "Call initiated successfully",
"callSid": "CA12345678901234567890123456789"
}
The text was updated successfully, but these errors were encountered: