cURL
curl "https://app.tatango.com/api/v2/lists/<ID>/custom_fields" -X GET \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -u [email protected]:my_api_key \ -H "Host: example.org" \ -H "Cookie: "
{ "status": "OK", "custom_fields": [ { "key": "some_custom_field_name", "pattern": "[A-Za-z0-9]", "max_length": 9999, "default_value": "The Default Value", "label": "The Label", "content_type": "text", "should_validate_regex_via_api": false } ] }
This endpoint fetches a list of Custom Fields.
GET https://app.tatango.com/api/v2/lists/<ID>/custom_fields
Tatango authenticates API requests by validating an API key passed via HTTP Basic Authentication. Use your login email as the username and your API key as the password.
ID of the list
Successful response
"OK"
Show child attributes
The unique identifier for the custom field
"some_custom_field_name"
Regular expression pattern for validation
"[A-Za-z0-9]"
Maximum length allowed for the field value
9999
Default value for the custom field
"The Default Value"
Display label for the custom field
"The Label"
Type of content allowed in the field
"text"
Whether to validate the regex pattern via API
false
Was this page helpful?