messagebird-nodejs
messagebird-nodejs copied to clipboard
Can't lookup contact by msisdn
It's possible to lookup a contact via phone number (msisdn) using the messagebird api by providing the query string value msisdn=<PHONE_NUMBER> to the contact end point.
Would be great to have a way to call this using this API.
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