messagebird / messagebird-nodejs

The open source Node.js client for MessageBird's REST API
https://www.messagebird.com/developers
105 stars 44 forks source link

Can't lookup contact by msisdn #32

Open momentumdigital opened 5 years ago

momentumdigital commented 5 years ago

It's possible to lookup a contact via phone number (msisdn) using the messagebird api by providing the query string value msisdn= to the contact end point.

Would be great to have a way to call this using this API.

niekert commented 5 years ago

Hey @momentumdigital, you're right that this is currently not possible using this package. Unfortunately changing the function signature of contacts.read to support msisdn would involve a breaking change and we're not sure if that's something we want to do for this feature alone.

Thank you for bringing this to our attention though, we'll consider adding this in the future