I'm aware from the docs that
"A single Apex transaction can make a maximum of 100 callouts to an HTTP request or an API call."
Is anyone aware if that limit is higher in a future methods or queueable apex? Generally, limits are relaxed in an asynchronous context with apex, but I can't find anything talking about callout limits specifically.
I need to make this callout from a trigger, so it looks like future or queueables are my only options.
Best Answer
I quickly wrote a class with future method to test this behaviour.
This is the error I get.
First error: Too many callouts: 101.
So I believe this is uniform for the whole platform irrespective of the transaction(Sync or Async).
Is there a workaround?
Well unless there is a strong business requirement it is kinda bad doing so many callous in a transaction.
We can call a Queauble Method from Queueable method,.. and you can chain them infinitely. Thus using proper implementation you can have 100+ callouts. Batch is another way to tackle this. You have to write /modify data model add a some queue custom SOBJECT to handle your problem.
Source: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_queueing_jobs.htm