twilio-node icon indicating copy to clipboard operation
twilio-node copied to clipboard

Missing messaging.v1.tollfreeVerifications endpoint, unable to create toll free verification using this library

Open uncvrd opened this issue 2 years ago • 2 comments

Hi there! I'd like to note that there is a mismatch in documentation to what this node library provides. Following the Messaging Compliance API for Toll-Free Onboarding Guide, I would like to use the node api to create a Toll Free Number verification using messaging.v1.tollfreeVerifications.create, however tollfreeVerifications does not exist on v1.

I guess I should just use the REST API directly for now instead of the helper library?

This is just misleading given that there are node examples and also the change logs for v4 of this library on GitHub indicate that these endpoints were added on this release https://github.com/twilio/twilio-node/releases/tag/4.0.0-rc.1

Not sure what to believe! Let me know how I can help. Thanks!

Technical details:

  • twilio-node version: 4.13.0

uncvrd avatar Jul 14 '23 07:07 uncvrd

Hi @uncvrd, Thank you for raising this issue. tollfreeVerification is available on the latest version of twilio-node 4.14.0 https://github.com/twilio/twilio-node/blob/main/src/rest/messaging/v1/tollfreeVerification.ts

You can use this guide https://www.twilio.com/docs/sms/a2p-tollfree-messaging-compliance-api-onboarding-guide#2-submit-a-toll-free-verification-request to create one

If this is still not working for you, please share the code you are using to create this, after removing personal details

AsabuHere avatar Jul 17 '23 11:07 AsabuHere

Looks like now it's missing the messaging.v1.tollfreeVerifications(tollFreeVerificationSid).remove() endpoint.

bradleyy1012 avatar Nov 08 '23 22:11 bradleyy1012