Closed Inglebard closed 1 year ago
Hi,
You can add the "X-Ovh-Batch:," header to your request this way the request /sms/{sms-account}/phonebooks/{phonebook}/phonebookContact/{id1},{id2},{id3},{id4},{id5}
should work.
However, please take note that we don't guarantee this feature will continue to work in the long term as it is not a documented feature and we may change the way batch calls work in the future.
Hi, Thanks. Faster than ever. I hope this hidden feature will stay.
Hi,
I would like to retrieve all number of my phonebook.
On OVH manager, they can pass 50 contacts IDs like this : /engine/apiv6/sms/{sms-account}/phonebooks/{phonebook}/phonebookContact/{id1},{id2},{id3},{id4},{id5},...
On the API, I can only pass one ID.
I need to retrieve 1000 numbers, and it is slow.
Is there something not documented where I can pass multiple IDs like in the OVH manager interface ?