After using insertRecords API call to insert Contact will it send ID of new Contact or is there a way to get it?

After using insertRecords API call to insert Contact will it send ID of new Contact or is there a way to get it?

Is it possible that after using the insertRecords API to insert a Contact, can I retrieve the unique ID of that record immediately back from the response or is there a way to get the last record entered? I need the ID to be able to alter the record or associated records shortly after creating it.

For example, I need a unique ID to find an associated account for that Contact I just created or set up a subscription for it.

Is this possible and if so, how?