Clay Icon

Managing API Calls: Implementing Delay Between POST and GET Requests

·
·

Hey team ! I am using two API calls - one POST and one GET on the same endpoint. Here is how it works :

  1. 1.

    The POST method allows me to push infos of the person I want to enrich. The response is an ID

  2. 2.

    I use the ID in the endpoint of my GET call to the receive the enriched infos

Thing is I need a delay between the run of the two calls otherwise I think that the “get” call fires too fast and returns an empty result, could you help me with this ? Here is the link to my table