Address Book
Upload Address Book
Upload address book contacts.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.quickblox.com/llms.txt
Use this file to discover all available pages before exploring further.
Recipes
Delete contact
Delete contact
5. Set a device identifier
Set a
udid parameter to specify a user’s device. If specified, a contact will be deleted for a specified device only.Upload address book with incorrect data
Upload address book with incorrect data
2. Set a `name` and `phone` of the contact as separate arrays
Note that it’s incorrect to set a
name separately from a phone.3. Set a `name` as an empty string
Note that a name is limited to a number of signs. Min: 1. Max: 255.
4. Set an incorrect phone length
Note that a phone is limited to a number of signs. Min: 10. Max: 15.
Replace contacts
Replace contacts
4. Specify if you want to replace existing contacts with the one specified
Set a
force as 1 to replace the contacts.5. Set a device identifier
Set a
udid parameter to specify a user’s device. If specified, contacts will be replaced for a specified device only.Upload address book
Upload address book
- Upload new address book.
- Replace old address book with a new one.
- Add/delete individual contacts.
- Update existing contacts.
Body Parameters
Contains an array of contact objects. Each contact can contain 3 keys -
phone, name, and destroy.Defines force rewrite mode. Set
force=1 to apply, then all previous contacts for the device context
will be replaced by new ones.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.
Headers
A user session token. See Authentication page to learn more about the session token.