1

Can we make API calls in 'start' method of batch class ?

1
  • What sort of API call? Your tagging suggests performing some form of callout?
    – Phil W
    May 10, 2021 at 15:14

1 Answer 1

6

Yes, you are allowed to do so, assuming you use Database.AllowsCallouts and you have no pending DML statements (e.g. you have not used insert/upsert/update/merge/delete/undelete/etc).

Not the answer you're looking for? Browse other questions tagged .