Clay Icon

Using Raw Text in Clay's HTTP API instead of JSON

ยท
ยท

How can I put "Raw" text in the body instead of JSON one in Clay's http API?

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    ๐Ÿ’ค You've caught us outside of our support hours (9am-9pm EST), but don't worry - we'll be back in touch within 24 hours (often sooner!). If you haven't already, please include the URL of your table in the thread below so that we can help you as quickly as possible!

  • Avatar of Arturo O.
    Arturo O.
    ยท
    ยท

    Hey Safikul, thanks for the inquiry! Happy to help. Could you share a bit more about this use case? Since this integration involves API requests where only JSON is supported at this time, it would require this format but let me know!

  • Avatar of Ariful
    Ariful
    ยท
    ยท

    So basically I'm sending a post request to a third party platform to get some specific details but their body input is Raw not JSON that's why when I'm passing it in the body using the Http API, I'm getting "failed to parse body input". Here is the body input: https://docs.google.com/document/d/1G1W6O7uDQ-95k8RMbC_l_AsReAzO63ygIhWL32SJbx4/edit?usp=drivesdk

  • Avatar of Daniela D.
    Daniela D.
    ยท
    ยท

    Hey Safikul! Thanks for sharing. Checking this with the team and will get back with an update.

  • Avatar of Ariful
    Ariful
    ยท
    ยท

    Thanks Daniela D.

  • Avatar of LuisArturo
    LuisArturo
    ยท
    ยท

    Hey there Safikul thanks for reaching out, could you share the API documentation for the API you are trying to connect to, along with the table you are running it on so that we can take a look?