Skip to main content
ZeroBounce Docs logo
Log InSign Up Free
  • Home
  • Getting started
  • Products
  • API
  • Integrations
  • FAQ
  • About ZeroBounce
Browse documentation
ZeroBounce Docs logo
  • Getting started
  • Products
  • API
  • Integrations
  • FAQ
  • About ZeroBounce

Type at least 2 characters to search the docs.

↑↓ Navigate↵ OpenEsc Close

Docs Assistant

Answers written from the ZeroBounce documentation

Hi! I'm your ZeroBounce Docs Assistant. How can I help you with our APIs or integrations today?

Try Asking

Loading suggestions...

AI-generated from our docs. Check important details against the linked pages.

FAQ

  • Account
  • Understanding email verification
  • Understanding email finder
  • Uploading Files
  • Billing and Payments
  • Questions about our services
  • Data security and privacy
  • Potential Issues
  • Integration and compatibility
  • Email finder and enhancement
  • Troubleshooting and support
  • Updates and innovations
  • Tutorials and guides
  • API FAQs
    • Why Am I Receiving a 403 Forbidden Error?
    • How Do I Thread the API or Call the API Asynchronously?
    • Why Does ZeroBounce Only Support TLS 1.2 and Above?
  • Email Warmup FAQ
  1. Home
  2. Frequently Asked Questions
  3. Api FAQs
  4. How Do I Thread the API or Call the API Asynchronously?

How Do I Thread the API or Call the API Asynchronously?

When using .NET, C#, or Visual Basic with the ZeroBounce email service API, you are limited to 2 outgoing Hypertext Transfer Protocol (HTTP) requests. In order to increase this to allow for threading or asynchronous API calls, you'll need to adjust the 'ServicePointManager.DefaultConnectionLimit' property. This property sets the maximum number of concurrent requests allowed by a ServicePoint object.

You can find documentation regarding this property via Microsoft's .NET and API browser documentation.

What is API threading?

Threading is a way for a program to split itself into two or more running tasks simultaneously (or pseudo-simultaneously). Multiple threads can be executed in parallel on many computer systems.

API threading can assist in improving the processing speed and performance of the ZeroBounce API from your device.

What does asynchronous mean in terms of the API?

Asynchronous means that multiple things will happen or process simultaneously. If you start a new action while running a program, the new action will take place without interrupting the other program.

Why would I need to thread the API or call asynchronously?

In a majority of cases, calling any API is considered an outgoing HTTP request. The potential issue with this is that most programming languages, as well as operating systems, have default limits in place that restrict the number of outgoing HTTP requests you may attempt. With these restrictions, you may face a slowdown when attempting to make multiple requests in a short period.

By threading the API, you can increase the limits so that you process a higher number of API requests asynchronously.

How do I get help with threading the ZeroBounce API?

If you're struggling with API threading using the documentation provided, please contact ZeroBounce support at support or via live chat.

The team can assist with all aspects of the email service API, including examining your API configuration and HTTP request limits. ZeroBounce's goal is for you to enjoy a seamless API experience with satisfactory results.

Related Articles

Why Am I Receiving a 403 Forbidden Error?

Why does ZeroBounce only support TLS 1.2 and above?

Was this page helpful?

PreviousWhy Am I Receiving a 403 Forbidden Error?NextWhy Does ZeroBounce Only Support TLS 1.2 and Above?
Interested in our partner programs?
Partner program

Interested in our partner programs?