SnackGuy
Member
I am trying to develop a layered JSON POST message and am running into an issue. The API I am trying to integrate with requires a subset of "fields" within the JSON message but I am unable to find how to do this dynamically through the current version of the "API by Pabbly" action.
Below is a sample of the API sample that the API documentation has provided. I have been able to get the connection to work, but get an error stating "The fields field is required"
{
"campaign": 1,
"status": 1,
"source": 1,
"group": 1,
"users": [
1,
2
],
"users_emails": [
"[email protected]",
"[email protected]"
],
"fields": [
{
"id": 1,
"record": 1,
"value": "Test"
}
]
}
It does show that this is possible in this other post on the forum at the link below. However, I am unsure how to get to the custom "request body" field using the current setup.
Below is a sample of the API sample that the API documentation has provided. I have been able to get the connection to work, but get an error stating "The fields field is required"
{
"campaign": 1,
"status": 1,
"source": 1,
"group": 1,
"users": [
1,
2
],
"users_emails": [
"[email protected]",
"[email protected]"
],
"fields": [
{
"id": 1,
"record": 1,
"value": "Test"
}
]
}
It does show that this is possible in this other post on the forum at the link below. However, I am unsure how to get to the custom "request body" field using the current setup.
How to Configure Request Body JSON of an Action with Dynamic/Custom Fields
Custom fields of an application are the dynamic fields configured by the app users in their app dashboard. Many applications like MailChimp, Mailerlite, Pabbly Email Marketing etc. allows user to manage their contacts, lists, subscribers etc based on custom fields. So, it is important to make...
forum.pabbly.com