Skip to content

API Endpoint for calling a number Using Twilio API #682

@noxxspring

Description

@noxxspring

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions