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

CreateMessage API Request Body Required Fields #91

Open
mahad-akhter opened this issue May 8, 2023 · 1 comment
Open

CreateMessage API Request Body Required Fields #91

mahad-akhter opened this issue May 8, 2023 · 1 comment

Comments

@mahad-akhter
Copy link

mahad-akhter commented May 8, 2023

Issue Summary

In the file and operationID:
File: https://github.com/twilio/twilio-oai/blob/main/spec/json/twilio_api_v2010.json
OperationID: CreateMessage

The required fields in the Request Body according to the open API spec is only: "To"
However, when using the API, the following fields are also needed:
"From"
"Body"

Is this done intentionally in the open API spec?

Code Snippet

"required": [ "To" ]

@twilio-dx
Copy link
Collaborator

Ahoy! Thank you for opening your first issue here! If this request is regarding troubleshooting your application, please reach out to the support team via https://support.twilio.com.

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

No branches or pull requests

2 participants