Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Endpoint for calling a number Using Twilio API #682

Open
noxxspring opened this issue Feb 27, 2025 · 0 comments
Open

API Endpoint for calling a number Using Twilio API #682

noxxspring opened this issue Feb 27, 2025 · 0 comments
Assignees
Labels

Comments

@noxxspring
Copy link
Contributor

noxxspring commented Feb 27, 2025

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"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants