post
https://api.twilio.com/2010-04-01/Accounts//Messages.json
If you'd like to test API requests to send SMS messages without charging your account or sending an SMS, you can use your test credentials.
💡Tip:
Use the magic numbers in the table in the exercise. The From has to be a magic number and To can be any number of your choice.
| Value | Description | Error code |
|---|---|---|
| +15005550001 | This phone number is invalid. | 21212 |
| +15005550007 | This phone number is not owned by your account or is not SMS-capable. | 21606 |
| +15005550008 | This number has an SMS message queue that is full. | 21611 |
| +15005550006 | This number passes all validation. | No error |
| All Others | This phone number is not owned by your account or is not SMS-capable. | 21606 |
