Clay Icon

Returning a Person Object from Clay Cells in JSON API

ยท
ยท

Let's say I want to return an object from one of the clay cells in the json of the HTTP API. I can't seem to just say: { "Person": { [ Person Object] } } Where [Person Object] is the Clay Variable / Cell

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    You can now directly structure JSON objects in HTTP API enrichments. When setting up your HTTP API:1. Go to "Add Enrichment" and select "HTTP API" 2. In the Body section, you can directly enter JSON objects or use formulas to reference Clay cells 3. Use the "Field Paths to Return" option to specify which parts of the response you want to retrieveFor nested parameters, use dot path notation (e.g., object1.object2.name) to properly structure your return values. Sources: HTTP API with JWT Authentication with Clay Find AI, Improved People Search, JSON Inputs, Weighted Round Robin, New Integrations, and more!

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    Hi Pek P.! This thread was recently closed by our Support team. If you have a moment, please share your feedback: