[GH-ISSUE #104] Support bulk sending SMS #13

Closed
opened 2026-03-03 16:35:56 +03:00 by kerem · 5 comments
Owner

Originally created by @baoc75 on GitHub (Feb 15, 2023).
Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/104

Allow users to send multiple messages to multiple phone numbers with a delay between each message.

Originally created by @baoc75 on GitHub (Feb 15, 2023). Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/104 Allow users to send multiple messages to multiple phone numbers with a delay between each message.
kerem closed this issue 2026-03-03 16:35:56 +03:00
Author
Owner

@AchoArnold commented on GitHub (Feb 20, 2023):

Hello @baoc75
Could you elaborate more on your use case? Which type of delay should we set should it be configurable? Currently, if you send multiple messages with the API the messages will be spread out based on the configured messages/second throughput.

e.g Currently, If you send 100 messages in parallel and you have the configuration of 2 SMS / minute, the application will actually send 1 SMS every 30 seconds using the phone.

Does this solve the issue for you?

<!-- gh-comment-id:1436954355 --> @AchoArnold commented on GitHub (Feb 20, 2023): Hello @baoc75 Could you elaborate more on your use case? Which type of delay should we set should it be configurable? Currently, if you send multiple messages with the API the messages will be spread out based on the configured messages/second throughput. e.g Currently, If you send 100 messages in parallel and you have the configuration of 2 SMS / minute, the application will actually send 1 SMS every 30 seconds using the phone. Does this solve the issue for you?
Author
Owner

@baoc75 commented on GitHub (Feb 20, 2023):

Hi @AchoArnold, as the documentation don't have an endpoint where I can pass multiple phone numbers. So if I want to send to 100 numbers, I would have to initiate 100 requests. Please correct me if I am wrong.
Regarding the rate limit, thanks for your clarification, I can limit the number of messages right now.
By the way, the software is easy to use 😁

<!-- gh-comment-id:1436998451 --> @baoc75 commented on GitHub (Feb 20, 2023): Hi @AchoArnold, as the documentation don't have an endpoint where I can pass multiple phone numbers. So if I want to send to 100 numbers, I would have to initiate 100 requests. Please correct me if I am wrong. Regarding the rate limit, thanks for your clarification, I can limit the number of messages right now. By the way, the software is easy to use 😁
Author
Owner

@AchoArnold commented on GitHub (Feb 20, 2023):

Yes you'll have to send 100 requests. I think even if we do multiple phone numbers via API, we still need to split the bulk messages to 100 individual messages before it is sent on the phone.

We can create an additional code to do this at the API level but at the mean time you can also do it on your end.

Out of curiosity, is there a specific issue with sending 100 requests instead of 1 request with 100 phone numbers?

<!-- gh-comment-id:1437003373 --> @AchoArnold commented on GitHub (Feb 20, 2023): Yes you'll have to send 100 requests. I think even if we do multiple phone numbers via API, we still need to split the bulk messages to 100 individual messages before it is sent on the phone. We can create an additional code to do this at the API level but at the mean time you can also do it on your end. Out of curiosity, is there a specific issue with sending 100 requests instead of 1 request with 100 phone numbers?
Author
Owner

@AchoArnold commented on GitHub (Mar 4, 2023):

Hello @baoc75 I implemented a bulk send API, check it out and tell me what you think https://api.httpsms.com/index.html#/Messages/post_messages_bulk_send

<!-- gh-comment-id:1454711937 --> @AchoArnold commented on GitHub (Mar 4, 2023): Hello @baoc75 I implemented a bulk send API, check it out and tell me what you think https://api.httpsms.com/index.html#/Messages/post_messages_bulk_send
Author
Owner

@baoc75 commented on GitHub (Mar 4, 2023):

Hello, @AchoArnold. I read your documents. It's exactly what I'm looking for.
About your question, my goal is to make as few HTTP requests as possible. Sending more HTTP requests consumes more bandwidth and resources, and increases the chance of failure.

<!-- gh-comment-id:1454739601 --> @baoc75 commented on GitHub (Mar 4, 2023): Hello, @AchoArnold. I read your documents. It's exactly what I'm looking for. About your question, my goal is to make as few HTTP requests as possible. Sending more HTTP requests consumes more bandwidth and resources, and increases the chance of failure.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/httpsms#13
No description provided.