Hi, I want to integrate Heybase into the website. I want to implement the this API
below is my curl code
curl --request POST
–url https://api.heybase.io/api/v1/rooms/template
–header ‘accept: application/json’
–header 'authorization: xxxxxxxxxxxxxxxxxxxx
–header ‘content-type: application/json’
–data ’
{
“roomName”: “Duplicated Room name”,
“templateId”: “662a47f002d99783914725ee”,
“sample_cart”: “bold text”
}
and below is the API output
------------------Out Put------------------
stdClass Object
(
[roomId] => 663a11ff532775f919591b39
)
Now the issue is, The API should duplicate a template and create a room. But it is creating fresh new empty room and it is not using the custom variable.
Can anyone please look into the above and let me know what could be the possible solution.