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

Add status, identity_sid to IncomingPhoneNumber fields #116

Conversation

novaugust
Copy link
Contributor

IncomingPhoneNumbers have been updated to have two new fields

  1. identity_sid: a required sid (similar to address_sid) for purchasing phone numbers in certain foreign countries (eg Australia)
  2. status a fully undocumented field. returns "in-use" if you attempt to CREATE a phone number your account already owns. (the API will return a 201 and behave as though you ran an UPDATE, but status will be "in-use" if you already own the number)

Our company opened a ticket re: status / multiple CREATE requests always succeeding. Twilio considers the behavior a feature, and did not comment on the undocumented nature of it.

@danielberkompas
Copy link
Owner

Thanks! ⭐ ⭐ ⭐

@danielberkompas danielberkompas merged commit 68ad282 into danielberkompas:master Apr 25, 2019
@novaugust novaugust deleted the update-incoming-phone-number-fields branch April 25, 2019 15:38
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

Successfully merging this pull request may close these issues.

None yet

2 participants