Webhook ID in Enrich API response

            Can’t find webhook ID in Enrich API response ?


            We have made some simplifications to our webhook flows in Enrich Person from what we used to have in V2 Person API. In the V2 API, customers could correlate their requests and responses via a request query parameter called webhookId which would then be provided in the POSTed body. This was functional, but was less secure a bit more rigid and complex than necessary.


            In our Enrich Person API you can achieve this same request/response mapping by including the specific key/value identifiers as a part of the provided Webhook URL in the request. To correlate input API request with the output (which is posted to the webhook URL), pass your own Webhook ID as a query parameter and  it will be returned along with the response. This Webhook ID can represent any key, or keys, customer desire and are no longer limited to a single key (webhookId).


            Refer our developer documentation for more information on using webhooks. 


            cURL Example


            API request


            curl -X POST https://api.fullcontact.com/v3/person.enrich 

            -H "Authorization: Bearer <YOURAPIKEY>" 

            -d '{"email":"bart@fullcontact.com", "webhookUrl":"https://en5x7qfhdb8xt.x.pipedream.net/?webhookid=12345"}' 

            -H Content-Type:application/json



            Response


            {

              "fullName": "Bart Lorang",

              "ageRange": "30-39",

              "gender": "Male",

              "location": "Denver, CO, United States",

              "title": "Co-Founder & Managing Director",

              "organization": "V1.vc",

              "twitter": "https://twitter.com/bartlorang",

              "linkedin": "https://www.linkedin.com/in/bartlorang",

              "bio": "CEO & Co-Founder of @FullContact, Managing Director @v1vc_. Tech Entrepreneur, Investor. Husband to @parkerbenson and Father to Greyson Lorang",

              "avatar": "https://d2ojpxxtu63wzl.cloudfront.net/static/a7e6a5aba590d4933e35eaadabd97fd2_44e00e968ac57725a15b32f9ca714827aff8e4818d290cb0c611f2e2585253b3",

              "details": {...}

            }


            Updated: 23 Nov 2019 06:46 PM
            Helpful?  
            Help us to make this article better
            0 0