![]() In this tutorial, I'm going to show you the solution that I came up with. This got me thinking about how I could make the process as streamlined as possible in PHP. ![]() If the status is set to completed, then retrieve the details of the newly imported contact(s).Using the returned job id, check the job's status.The response contains a job id for tracking the import job's process The process requires three calls to be made: However, I want to get the contact's id at the same time as inserting them, as I need to save the id against the contact in our local DB.Īfter some research into the SendGrid Contacts API, it's not currently possible to save a contact and retrieve their details in a single request. There is another API to search the contact by their email address. > I am using the SendGrid API to save contacts, but the response only returns the import job id. ![]() Here's a paraphrased version of the question: Recently, on StackOverflow, a user asked how to import contacts into SendGrid and then retrieve the details afterwards focusing primarily on the new contact's id. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |