Created
February 10, 2016 14:24
-
-
Save dtolb/0038a9f5be8606f3cfbd to your computer and use it in GitHub Desktop.
Order number
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// find your credentials http://ap.bandwidth.com/docs/security/ | |
curl -v -X GET https://api.catapult.inetwork.com/v1/availableNumbers/local?areaCode=818 \ | |
-u {YOUR_TOKEN}:{YOUR_SECRET} \ | |
-H "Content-type: application/json" | |
//Fill in the number below with the number found above!! | |
curl -v -X POST https://api.catapult.inetwork.com/v1/users/{YOUR_USER_ID}/phoneNumbers \ | |
-u {YOUR_TOKEN}:{YOUR_SECRET} \ | |
-H "Content-type: application/json" \ | |
-d '{"number": "+18183694547"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment