Set a udid parameter to specify a user’s device. If specified, contacts will be returned for a specified device only.
Copy
Ask AI
curl -X GET \-H "Content-Type: application/json" \-H "QB-Token: 69049dfb31898c7b2f3fd7016bb48ecd40012bba" \https://api.quickblox.com/address_book/registered_users.json?udid=A337E8A4-80AD-8ABA-9F5D-579EFF6BACAB&compact=1
2
2. Specify if you want to get a compact list with contacts
Set a compact parameter as 1 to get a compact list of contacts.
Copy
Ask AI
curl -X GET \-H "Content-Type: application/json" \-H "QB-Token: 69049dfb31898c7b2f3fd7016bb48ecd40012bba" \https://api.quickblox.com/address_book/registered_users.json?udid=A337E8A4-80AD-8ABA-9F5D-579EFF6BACAB&compact=1
3
3. As a result, the API returns a list of users' IDs and phone numbers.
Copy
Ask AI
curl -X GET \-H "Content-Type: application/json" \-H "QB-Token: 69049dfb31898c7b2f3fd7016bb48ecd40012bba" \https://api.quickblox.com/address_book/registered_users.json?udid=A337E8A4-80AD-8ABA-9F5D-579EFF6BACAB&compact=1
Users are matched with address book contacts by phone number, so user and address book contact
must have the same phone number to be included in response.
User’s device identifier. If specified, all operations will be in this context. Max. length is 64 symbols.
If the device identifier is not specified, it means that a user has one global address book across all
their devices.