Hi Harshali,
The confusing part here is that the API Explorer examples can be misleading depending on the mode being used.
For customFields, the API expects a flat key/value structure where each key is the API name of the custom attribute configured in Task Management.
Example:
{
"name": "sample",
"typeId": "7f11b5da-f1ba-4639-92fd-1fef825752da",
"customFields": {
"claim_id_text": "12345",
"claim_status_text": "Open"
}
}
So the first key is not arbitrary.
It must be the actual custom field API name.
The nested object structure shown sometimes in API Explorer:
"customFields": {
"someKey": {
"anotherKey": "value"
}
}
does not appear to be the expected runtime payload for standard custom field usage.
What worked for us was using Pro Mode and sending the raw JSON directly with the custom field names mapped flat inside customFields.
Also make sure the field names match exactly the configured custom attribute IDs/types in Task Management (_text, _integer, _date, etc.), otherwise the API may silently reject or ignore the values.
------------------------------
Gabriel Garcia
NA
------------------------------