Hi! I want to add a dictionary with key value pair to the the query params in a HTTP request, but don’t know how to do it.
Here’s information about the custom attributes parameter and a sample of he request according to the API documentation:
custom_attributes
object
An object where you can store custom attributes for contact. example {“type”:“customer”, “age”:30}
{
“inbox_id”: 0,
“name”: “string”,
“email”: “string”,
“phone_number”: “string”,
“avatar”: “string”,
“avatar_url”: “string”,
“identifier”: “string”,
“custom_attributes”: { }
}
Hi @Michel_N
Can link the API Documentation? It seems such type of object usually sent within body instead of query parameters
Hi @abuaboud
Thanks for your response. Here’s the link to the documentation: API Documentation | Chatwoot | Chatwoot
Hi @Michel_N and welcome to Activepieces!
Since this is a POST request and as in the posted docs, all your data should go in the Body not in the Query Params. So please construct the payload in this input:
This seems to work. Thanks for your help!
1 Like
system
Closed
September 27, 2023, 4:00pm
6
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.