---
updatedAt: 2026-08-12T01:17:13.000Z
agentTools:
  projectIndex: https://developers.activecampaign.com/llms.txt
---

# Set a contact custom field value

Sets a contact's value for one custom field. This operation is an upsert: when the contact has no value for the field yet, a new fieldValue is created and returned with 201; when a value already exists, that existing record is updated and returned with 200 with its original id, so a contact-and-field pair never produces two records. Multi-select fields (checkbox, listbox) store their selections as ||option 1||option 2||, wrapped and separated by double pipes. Date and datetime values are best sent in ISO 8601 (YYYY-MM-DD for dates); other formats are also read, as described on value. 422 if the field id is missing or does not exist, 404 if the contact does not exist, 400 if the body is not a JSON object. 403 without contact-edit permission, or, for a user outside the Admin group calling the API directly, when the field is not on any of the user's lists. The response side-loads the updated contact in a contacts array. The preferred language field comes back as its stored code here, not the language name the reads return. A lookup field shows a field of another CRM object and holds no value of its own: a value sent for one is not saved. The request answers as for any field, but the fieldValue carries what is stored: the existing record unchanged, or, when the contact has none, a null value and a null id. If your account uses social channels, fields whose service is engage are kept up to date automatically by those channels. A value sent for one is ignored, and the response shows what is stored: the existing record unchanged, or a null value and a null id when the contact has none.

> 🚧 Datetime field values will be converted to your account's timezone when saved
>
> Example: If an account has a timezone setting of Central (America/Chicago):
>
> * Sending a datetime w/ timezone of `2024-11-01T13:05:00-06:00` will be saved in the account's preference of Chicago's (Central) timezone: `2024-11-01T14:05:00-05:00`

#### Example `POST` Body

```json text/textarea/hidden
{
    "fieldValue": {
        "contact": 2,
        "field": 3,
        "value": "Blue"
    },
    "useDefaults": true
}
```
```json dropdown/radio
{
    "fieldValue": {
        "contact": 2,
        "field": 4,
        "value": "Option 1"
    }
}
```
```json date
{
    "fieldValue": {
        "contact": 2,
        "field": 7,
        "value": "2018-12-31"
    }
}
```
```json datetime ISO
{
    "fieldValue": {
        "contact": 2,
        "field": 7,
        "value": "2020-05-19T02:45:00-05:00"
    }
}
```
```json checkbox multiple
{
    "fieldValue": {
        "contact": 2,
        "field": 6,
        "value": "||Option 1||Option 3||Option 4||"
    }
}
```
```json checkbox single
{
    "fieldValue": {
        "contact": 2,
        "field": 6,
        "value": "||Option 2||"
    }
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "v3",
    "version": "3"
  },
  "servers": [
    {
      "url": "https://{youraccountname}.api-us1.com/api/3",
      "variables": {
        "youraccountname": {
          "default": "youraccountname"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Api-Token",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/fieldValues": {
      "post": {
        "summary": "Set a contact custom field value",
        "description": "Sets a contact's value for one custom field. This operation is an upsert: when the contact has no value for the field yet, a new fieldValue is created and returned with 201; when a value already exists, that existing record is updated and returned with 200 with its original id, so a contact-and-field pair never produces two records. Multi-select fields (checkbox, listbox) store their selections as ||option 1||option 2||, wrapped and separated by double pipes. Date and datetime values are best sent in ISO 8601 (YYYY-MM-DD for dates); other formats are also read, as described on value. 422 if the field id is missing or does not exist, 404 if the contact does not exist, 400 if the body is not a JSON object. 403 without contact-edit permission, or, for a user outside the Admin group calling the API directly, when the field is not on any of the user's lists. The response side-loads the updated contact in a contacts array. The preferred language field comes back as its stored code here, not the language name the reads return. A lookup field shows a field of another CRM object and holds no value of its own: a value sent for one is not saved. The request answers as for any field, but the fieldValue carries what is stored: the existing record unchanged, or, when the contact has none, a null value and a null id. If your account uses social channels, fields whose service is engage are kept up to date automatically by those channels. A value sent for one is ignored, and the response shows what is stored: the existing record unchanged, or a null value and a null id when the contact has none.",
        "operationId": "create-fieldvalue",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "The field value to set.",
                "properties": {
                  "fieldValue": {
                    "description": "The contact, the custom field and the value.",
                    "required": [
                      "contact",
                      "field",
                      "value"
                    ],
                    "properties": {
                      "contact": {
                        "description": "ID of the contact.",
                        "type": [
                          "integer",
                          "string"
                        ]
                      },
                      "field": {
                        "description": "ID of the custom field definition. Required: a missing or unknown id fails with 422.",
                        "type": [
                          "integer",
                          "string"
                        ]
                      },
                      "value": {
                        "description": "The value to store, as text. How it is stored depends on the field type. Checkbox and listbox: send the chosen options as ||option 1||option 2||; repeated pipes are collapsed, the value is wrapped in || when saved, and || or |||| clears it. Date: send YYYY-MM-DD; other formats are read using the account's date format, then as free-form text, and a value that cannot be read is stored as sent. Datetime: send ISO 8601, such as 2020-05-19T02:45:00-05:00; a value without an offset is read in the API user's time zone, the value is stored in UTC, and a value that cannot be read is stored as empty. Dropdown and radio: send one option's value, without pipes. Text, textarea and hidden: stored as sent. The value is not checked against the field's options.",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "useDefaults": {
                    "description": "When true, any required custom field missing from the request is set to its default value, unless the contact already has a value for it. Defaults to false.",
                    "type": "boolean"
                  }
                },
                "type": "object"
              },
              "examples": {
                "text/textarea/hidden value": {
                  "summary": "text/textarea/hidden value",
                  "value": {
                    "fieldValue": {
                      "contact": 2,
                      "field": 3,
                      "value": "Blue"
                    }
                  }
                },
                "dropdown/radio value": {
                  "summary": "dropdown/radio value",
                  "value": {
                    "fieldValue": {
                      "contact": 2,
                      "field": 4,
                      "value": "Option 1"
                    }
                  }
                },
                "date value": {
                  "summary": "date value",
                  "value": {
                    "fieldValue": {
                      "contact": 2,
                      "field": 7,
                      "value": "2018-12-31"
                    }
                  }
                },
                "datetime value ISO format": {
                  "summary": "datetime value ISO format",
                  "value": {
                    "fieldValue": {
                      "contact": 2,
                      "field": 7,
                      "value": "2020-05-19T02:45:00-05:00"
                    }
                  }
                },
                "multiselect with multiple options": {
                  "summary": "multiselect with multiple options",
                  "value": {
                    "fieldValue": {
                      "contact": 2,
                      "field": 6,
                      "value": "||Option 1||Option 3||Option 4||"
                    }
                  }
                },
                "multiselect with single option": {
                  "summary": "multiselect with single option",
                  "value": {
                    "fieldValue": {
                      "contact": 2,
                      "field": 6,
                      "value": "||Option 2||"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The contact already had a value for this field. That record was updated and is returned with its original id.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "contacts": {
                      "description": "The contact the value belongs to. Usually present, because the contact is loaded while the value is saved. Only common contact fields are listed.",
                      "type": "array",
                      "items": {
                        "properties": {
                          "cdate": {
                            "description": "When the contact was created, in ISO 8601 with the account's UTC offset.",
                            "type": "string",
                            "example": "2018-08-06T16:26:04-05:00"
                          },
                          "email": {
                            "description": "The contact's email address.",
                            "type": "string",
                            "example": "sam@example.com"
                          },
                          "phone": {
                            "description": "The contact's phone number. Empty when not set.",
                            "type": "string",
                            "example": ""
                          },
                          "firstName": {
                            "description": "The contact's first name. Empty when not set.",
                            "type": "string",
                            "example": ""
                          },
                          "lastName": {
                            "description": "The contact's last name. Empty when not set.",
                            "type": "string",
                            "example": ""
                          },
                          "orgid": {
                            "description": "Id of the account the contact belongs to through the legacy account link. \"0\" when there is none.",
                            "type": "string",
                            "example": "0"
                          },
                          "segmentio_id": {
                            "description": "Id of the contact in the Segment integration. Empty when the contact did not come from Segment.",
                            "type": "string",
                            "example": ""
                          },
                          "bounced_hard": {
                            "description": "Number of hard bounces recorded for the contact.",
                            "type": "string",
                            "example": "0"
                          },
                          "bounced_soft": {
                            "description": "Number of soft bounces recorded for the contact.",
                            "type": "string",
                            "example": "0"
                          },
                          "bounced_date": {
                            "description": "Date of the most recent bounce, as YYYY-MM-DD. Null when the contact has never bounced.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "ip": {
                            "description": "IPv4 address the contact was added from, as a whole number. \"0\" when not recorded.",
                            "type": "string",
                            "example": "0"
                          },
                          "ua": {
                            "description": "Browser user agent recorded when the contact subscribed through a form. Null when not recorded.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "hash": {
                            "description": "A 32-character identifier for the contact.",
                            "type": "string",
                            "example": "14d8c4418ae944c68e9dde4a975854cc"
                          },
                          "socialdata_lastcheck": {
                            "description": "When social profile data was last looked up for the contact. Null when never looked up.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "email_local": {
                            "description": "The part of the email address before the @ sign. Usually empty.",
                            "type": "string",
                            "example": ""
                          },
                          "email_domain": {
                            "description": "The part of the email address after the @ sign.",
                            "type": "string",
                            "example": ""
                          },
                          "sentcnt": {
                            "description": "Number of campaigns that have been sent to the contact.",
                            "type": "string",
                            "example": "0"
                          },
                          "rating_tstamp": {
                            "description": "Date the contact's engagement rating last changed. Null when never rated.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "gravatar": {
                            "description": "Gravatar lookup status: \"0\" not looked up yet, \"1\" no image found, \"2\" image found, \"3\" use the image from the appended social profile data.",
                            "type": "string",
                            "example": "0"
                          },
                          "deleted": {
                            "description": "\"1\" when the contact has been soft-deleted, \"0\" otherwise.",
                            "type": "string",
                            "example": "0"
                          },
                          "anonymized": {
                            "description": "\"1\" when the contact's personal data has been anonymized, \"0\" otherwise.",
                            "type": "string",
                            "example": "0"
                          },
                          "adate": {
                            "description": "When activity was last generated for the contact. Null when it never has been.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "udate": {
                            "description": "When the contact record was last modified, in ISO 8601 with the account's UTC offset. Changing the value moves it.",
                            "type": "string",
                            "example": "2018-10-01T17:18:40-05:00"
                          },
                          "edate": {
                            "description": "Watermark for email activity generation. Null when email activity has never been generated for the contact.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "deleted_at": {
                            "description": "When the contact was soft-deleted. Null for a contact that has not been deleted.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "created_utc_timestamp": {
                            "description": "When the row was inserted into the database, as YYYY-MM-DD HH:MM:SS.",
                            "type": "string",
                            "example": "2018-09-21 12:04:40"
                          },
                          "updated_utc_timestamp": {
                            "description": "When the row last changed, as YYYY-MM-DD HH:MM:SS. Despite the name it is not in UTC.",
                            "type": "string",
                            "example": "2018-10-01 17:18:40"
                          },
                          "links": {
                            "description": "URLs of the reads for the contact's related records.",
                            "properties": {
                              "bounceLogs": {
                                "description": "URL of the read that lists the contact's bounce logs.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/bounceLogs"
                              },
                              "contactAutomations": {
                                "description": "URL of the read that lists the automations the contact has entered.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactAutomations"
                              },
                              "contactData": {
                                "description": "URL of the read for the contact's engagement data.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactData"
                              },
                              "contactGoals": {
                                "description": "URL of the read that lists the automation goals the contact has met.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactGoals"
                              },
                              "contactLists": {
                                "description": "URL of the read that lists the contact's list memberships.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactLists"
                              },
                              "contactLogs": {
                                "description": "URL of the read that lists the contact's logs.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactLogs"
                              },
                              "contactTags": {
                                "description": "URL of the read that lists the tags on the contact.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactTags"
                              },
                              "contactDeals": {
                                "description": "URL of the read that lists the links between the contact and deals.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactDeals"
                              },
                              "deals": {
                                "description": "URL of the read that lists the contact's deals.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/deals"
                              },
                              "fieldValues": {
                                "description": "URL of the read that lists the contact's custom field values.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/fieldValues"
                              },
                              "geoIps": {
                                "description": "URL of the read that lists the IP addresses recorded for the contact.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/geoIps"
                              },
                              "notes": {
                                "description": "URL of the read that lists the contact's notes.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/notes"
                              },
                              "organization": {
                                "description": "URL of the read for the account named by orgid. Deprecated; use accountContacts.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/organization"
                              },
                              "plusAppend": {
                                "description": "URL of the read for the contact's appended social profile data.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/plusAppend"
                              },
                              "trackingLogs": {
                                "description": "URL of the read that lists the contact's tracking logs.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/trackingLogs"
                              },
                              "scoreValues": {
                                "description": "URL of the read that lists the contact's score values.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/scoreValues"
                              }
                            },
                            "type": "object"
                          },
                          "id": {
                            "description": "Id of the contact.",
                            "type": "string",
                            "example": "2"
                          },
                          "organization": {
                            "description": "The same value as orgid, except null instead of \"0\" when there is none. Deprecated; use accountContacts.",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": "object"
                      }
                    },
                    "fieldValue": {
                      "description": "The stored value.",
                      "properties": {
                        "contact": {
                          "description": "ID of the contact the value belongs to, as sent in the request (a number or a string).",
                          "type": [
                            "integer",
                            "string"
                          ],
                          "default": 0,
                          "example": 2
                        },
                        "field": {
                          "description": "ID of the custom field definition, as sent in the request (a number or a string).",
                          "type": [
                            "integer",
                            "string"
                          ],
                          "default": 0,
                          "example": 3
                        },
                        "value": {
                          "description": "The stored value. Checkbox and listbox values come back in the ||option 1||option 2|| form. Datetime values come back in ISO 8601 with the user's UTC offset.",
                          "type": "string",
                          "example": "Blue"
                        },
                        "cdate": {
                          "description": "When the value was first stored.",
                          "type": "string",
                          "example": "2018-10-01T17:18:40-05:00"
                        },
                        "udate": {
                          "description": "When the value was last changed.",
                          "type": "string",
                          "example": "2018-10-01T17:18:40-05:00"
                        },
                        "links": {
                          "description": "URLs of the records related to this value.",
                          "properties": {
                            "owner": {
                              "description": "URL of the contact the value belongs to.",
                              "type": "string",
                              "example": "https://:account.api-us1.com/api/:version/fieldValues/15/owner"
                            },
                            "field": {
                              "description": "URL of the custom field definition.",
                              "type": "string",
                              "example": "https://:account.api-us1.com/api/:version/fieldValues/15/field"
                            }
                          },
                          "type": "object"
                        },
                        "owner": {
                          "description": "ID of the contact the value belongs to, the same as contact.",
                          "type": [
                            "integer",
                            "string"
                          ],
                          "default": 0,
                          "example": 2
                        },
                        "id": {
                          "description": "ID of the field value record. Use it with GET, PUT and DELETE /fieldValues/{id}.",
                          "type": "string",
                          "example": "15"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "examples": {
                  "Result": {
                    "summary": "A successful response",
                    "value": "{\n    \"contacts\": [\n        {\n            \"cdate\": \"2018-08-06T16:26:04-05:00\",\n            \"email\": \"sam@example.com\",\n            \"phone\": \"\",\n            \"firstName\": \"\",\n            \"lastName\": \"\",\n            \"orgid\": \"0\",\n            \"segmentio_id\": \"\",\n            \"bounced_hard\": \"0\",\n            \"bounced_soft\": \"0\",\n            \"bounced_date\": null,\n            \"ip\": \"0\",\n            \"ua\": null,\n            \"hash\": \"14d8c4418ae944c68e9dde4a975854cc\",\n            \"socialdata_lastcheck\": null,\n            \"email_local\": \"\",\n            \"email_domain\": \"\",\n            \"sentcnt\": \"0\",\n            \"rating_tstamp\": null,\n            \"gravatar\": \"0\",\n            \"deleted\": \"0\",\n            \"anonymized\": \"0\",\n            \"adate\": null,\n            \"udate\": \"2018-10-01T17:18:40-05:00\",\n            \"edate\": null,\n            \"deleted_at\": null,\n            \"created_utc_timestamp\": \"2018-09-21 12:04:40\",\n            \"updated_utc_timestamp\": \"2018-10-01 17:18:40\",\n            \"links\": {\n                \"bounceLogs\": \"https://:account.api-us1.com/api/:version/contacts/2/bounceLogs\",\n                \"contactAutomations\": \"https://:account.api-us1.com/api/:version/contacts/2/contactAutomations\",\n                \"contactData\": \"https://:account.api-us1.com/api/:version/contacts/2/contactData\",\n                \"contactGoals\": \"https://:account.api-us1.com/api/:version/contacts/2/contactGoals\",\n                \"contactLists\": \"https://:account.api-us1.com/api/:version/contacts/2/contactLists\",\n                \"contactLogs\": \"https://:account.api-us1.com/api/:version/contacts/2/contactLogs\",\n                \"contactTags\": \"https://:account.api-us1.com/api/:version/contacts/2/contactTags\",\n                \"contactDeals\": \"https://:account.api-us1.com/api/:version/contacts/2/contactDeals\",\n                \"deals\": \"https://:account.api-us1.com/api/:version/contacts/2/deals\",\n                \"fieldValues\": \"https://:account.api-us1.com/api/:version/contacts/2/fieldValues\",\n                \"geoIps\": \"https://:account.api-us1.com/api/:version/contacts/2/geoIps\",\n                \"notes\": \"https://:account.api-us1.com/api/:version/contacts/2/notes\",\n                \"organization\": \"https://:account.api-us1.com/api/:version/contacts/2/organization\",\n                \"plusAppend\": \"https://:account.api-us1.com/api/:version/contacts/2/plusAppend\",\n                \"trackingLogs\": \"https://:account.api-us1.com/api/:version/contacts/2/trackingLogs\",\n                \"scoreValues\": \"https://:account.api-us1.com/api/:version/contacts/2/scoreValues\"\n            },\n            \"id\": \"2\",\n            \"organization\": null\n        }\n    ],\n    \"fieldValue\": {\n        \"contact\": 2,\n        \"field\": 3,\n        \"value\": \"Blue\",\n        \"cdate\": \"2018-10-01T17:18:40-05:00\",\n        \"udate\": \"2018-10-01T17:18:40-05:00\",\n        \"links\": {\n            \"owner\": \"https://:account.api-us1.com/api/:version/fieldValues/15/owner\",\n            \"field\": \"https://:account.api-us1.com/api/:version/fieldValues/15/field\"\n        },\n        \"owner\": 2,\n        \"id\": \"15\"\n    }\n}"
                  }
                }
              }
            }
          },
          "201": {
            "description": "The contact had no value for this field. A new record was created.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "contacts": {
                      "description": "The contact the value belongs to. Usually present, because the contact is loaded while the value is saved. Only common contact fields are listed.",
                      "type": "array",
                      "items": {
                        "properties": {
                          "cdate": {
                            "description": "When the contact was created, in ISO 8601 with the account's UTC offset.",
                            "type": "string",
                            "example": "2018-08-06T16:26:04-05:00"
                          },
                          "email": {
                            "description": "The contact's email address.",
                            "type": "string",
                            "example": "sam@example.com"
                          },
                          "phone": {
                            "description": "The contact's phone number. Empty when not set.",
                            "type": "string",
                            "example": ""
                          },
                          "firstName": {
                            "description": "The contact's first name. Empty when not set.",
                            "type": "string",
                            "example": ""
                          },
                          "lastName": {
                            "description": "The contact's last name. Empty when not set.",
                            "type": "string",
                            "example": ""
                          },
                          "orgid": {
                            "description": "Id of the account the contact belongs to through the legacy account link. \"0\" when there is none.",
                            "type": "string",
                            "example": "0"
                          },
                          "segmentio_id": {
                            "description": "Id of the contact in the Segment integration. Empty when the contact did not come from Segment.",
                            "type": "string",
                            "example": ""
                          },
                          "bounced_hard": {
                            "description": "Number of hard bounces recorded for the contact.",
                            "type": "string",
                            "example": "0"
                          },
                          "bounced_soft": {
                            "description": "Number of soft bounces recorded for the contact.",
                            "type": "string",
                            "example": "0"
                          },
                          "bounced_date": {
                            "description": "Date of the most recent bounce, as YYYY-MM-DD. Null when the contact has never bounced.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "ip": {
                            "description": "IPv4 address the contact was added from, as a whole number. \"0\" when not recorded.",
                            "type": "string",
                            "example": "0"
                          },
                          "ua": {
                            "description": "Browser user agent recorded when the contact subscribed through a form. Null when not recorded.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "hash": {
                            "description": "A 32-character identifier for the contact.",
                            "type": "string",
                            "example": "14d8c4418ae944c68e9dde4a975854cc"
                          },
                          "socialdata_lastcheck": {
                            "description": "When social profile data was last looked up for the contact. Null when never looked up.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "email_local": {
                            "description": "The part of the email address before the @ sign. Usually empty.",
                            "type": "string",
                            "example": ""
                          },
                          "email_domain": {
                            "description": "The part of the email address after the @ sign.",
                            "type": "string",
                            "example": ""
                          },
                          "sentcnt": {
                            "description": "Number of campaigns that have been sent to the contact.",
                            "type": "string",
                            "example": "0"
                          },
                          "rating_tstamp": {
                            "description": "Date the contact's engagement rating last changed. Null when never rated.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "gravatar": {
                            "description": "Gravatar lookup status: \"0\" not looked up yet, \"1\" no image found, \"2\" image found, \"3\" use the image from the appended social profile data.",
                            "type": "string",
                            "example": "0"
                          },
                          "deleted": {
                            "description": "\"1\" when the contact has been soft-deleted, \"0\" otherwise.",
                            "type": "string",
                            "example": "0"
                          },
                          "anonymized": {
                            "description": "\"1\" when the contact's personal data has been anonymized, \"0\" otherwise.",
                            "type": "string",
                            "example": "0"
                          },
                          "adate": {
                            "description": "When activity was last generated for the contact. Null when it never has been.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "udate": {
                            "description": "When the contact record was last modified, in ISO 8601 with the account's UTC offset. Changing the value moves it.",
                            "type": "string",
                            "example": "2018-10-01T17:18:40-05:00"
                          },
                          "edate": {
                            "description": "Watermark for email activity generation. Null when email activity has never been generated for the contact.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "deleted_at": {
                            "description": "When the contact was soft-deleted. Null for a contact that has not been deleted.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "created_utc_timestamp": {
                            "description": "When the row was inserted into the database, as YYYY-MM-DD HH:MM:SS.",
                            "type": "string",
                            "example": "2018-09-21 12:04:40"
                          },
                          "updated_utc_timestamp": {
                            "description": "When the row last changed, as YYYY-MM-DD HH:MM:SS. Despite the name it is not in UTC.",
                            "type": "string",
                            "example": "2018-10-01 17:18:40"
                          },
                          "links": {
                            "description": "URLs of the reads for the contact's related records.",
                            "properties": {
                              "bounceLogs": {
                                "description": "URL of the read that lists the contact's bounce logs.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/bounceLogs"
                              },
                              "contactAutomations": {
                                "description": "URL of the read that lists the automations the contact has entered.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactAutomations"
                              },
                              "contactData": {
                                "description": "URL of the read for the contact's engagement data.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactData"
                              },
                              "contactGoals": {
                                "description": "URL of the read that lists the automation goals the contact has met.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactGoals"
                              },
                              "contactLists": {
                                "description": "URL of the read that lists the contact's list memberships.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactLists"
                              },
                              "contactLogs": {
                                "description": "URL of the read that lists the contact's logs.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactLogs"
                              },
                              "contactTags": {
                                "description": "URL of the read that lists the tags on the contact.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactTags"
                              },
                              "contactDeals": {
                                "description": "URL of the read that lists the links between the contact and deals.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/contactDeals"
                              },
                              "deals": {
                                "description": "URL of the read that lists the contact's deals.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/deals"
                              },
                              "fieldValues": {
                                "description": "URL of the read that lists the contact's custom field values.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/fieldValues"
                              },
                              "geoIps": {
                                "description": "URL of the read that lists the IP addresses recorded for the contact.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/geoIps"
                              },
                              "notes": {
                                "description": "URL of the read that lists the contact's notes.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/notes"
                              },
                              "organization": {
                                "description": "URL of the read for the account named by orgid. Deprecated; use accountContacts.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/organization"
                              },
                              "plusAppend": {
                                "description": "URL of the read for the contact's appended social profile data.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/plusAppend"
                              },
                              "trackingLogs": {
                                "description": "URL of the read that lists the contact's tracking logs.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/trackingLogs"
                              },
                              "scoreValues": {
                                "description": "URL of the read that lists the contact's score values.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/:version/contacts/2/scoreValues"
                              }
                            },
                            "type": "object"
                          },
                          "id": {
                            "description": "Id of the contact.",
                            "type": "string",
                            "example": "2"
                          },
                          "organization": {
                            "description": "The same value as orgid, except null instead of \"0\" when there is none. Deprecated; use accountContacts.",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": "object"
                      }
                    },
                    "fieldValue": {
                      "description": "The stored value.",
                      "properties": {
                        "contact": {
                          "description": "ID of the contact the value belongs to, as sent in the request (a number or a string).",
                          "type": [
                            "integer",
                            "string"
                          ],
                          "default": 0,
                          "example": 2
                        },
                        "field": {
                          "description": "ID of the custom field definition, as sent in the request (a number or a string).",
                          "type": [
                            "integer",
                            "string"
                          ],
                          "default": 0,
                          "example": 3
                        },
                        "value": {
                          "description": "The stored value. Checkbox and listbox values come back in the ||option 1||option 2|| form. Datetime values come back in ISO 8601 with the user's UTC offset.",
                          "type": "string",
                          "example": "Blue"
                        },
                        "cdate": {
                          "description": "When the value was first stored.",
                          "type": "string",
                          "example": "2018-10-01T17:18:40-05:00"
                        },
                        "udate": {
                          "description": "When the value was last changed.",
                          "type": "string",
                          "example": "2018-10-01T17:18:40-05:00"
                        },
                        "links": {
                          "description": "URLs of the records related to this value.",
                          "properties": {
                            "owner": {
                              "description": "URL of the contact the value belongs to.",
                              "type": "string",
                              "example": "https://:account.api-us1.com/api/:version/fieldValues/15/owner"
                            },
                            "field": {
                              "description": "URL of the custom field definition.",
                              "type": "string",
                              "example": "https://:account.api-us1.com/api/:version/fieldValues/15/field"
                            }
                          },
                          "type": "object"
                        },
                        "owner": {
                          "description": "ID of the contact the value belongs to, the same as contact.",
                          "type": [
                            "integer",
                            "string"
                          ],
                          "default": 0,
                          "example": 2
                        },
                        "id": {
                          "description": "ID of the field value record. Use it with GET, PUT and DELETE /fieldValues/{id}.",
                          "type": "string",
                          "example": "15"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "examples": {
                  "Result": {
                    "summary": "The resource was created",
                    "value": "{\n    \"contacts\": [\n        {\n            \"cdate\": \"2018-08-06T16:26:04-05:00\",\n            \"email\": \"sam@example.com\",\n            \"phone\": \"\",\n            \"firstName\": \"\",\n            \"lastName\": \"\",\n            \"orgid\": \"0\",\n            \"segmentio_id\": \"\",\n            \"bounced_hard\": \"0\",\n            \"bounced_soft\": \"0\",\n            \"bounced_date\": null,\n            \"ip\": \"0\",\n            \"ua\": null,\n            \"hash\": \"14d8c4418ae944c68e9dde4a975854cc\",\n            \"socialdata_lastcheck\": null,\n            \"email_local\": \"\",\n            \"email_domain\": \"\",\n            \"sentcnt\": \"0\",\n            \"rating_tstamp\": null,\n            \"gravatar\": \"0\",\n            \"deleted\": \"0\",\n            \"anonymized\": \"0\",\n            \"adate\": null,\n            \"udate\": \"2018-10-01T17:18:40-05:00\",\n            \"edate\": null,\n            \"deleted_at\": null,\n            \"created_utc_timestamp\": \"2018-09-21 12:04:40\",\n            \"updated_utc_timestamp\": \"2018-10-01 17:18:40\",\n            \"links\": {\n                \"bounceLogs\": \"https://:account.api-us1.com/api/:version/contacts/2/bounceLogs\",\n                \"contactAutomations\": \"https://:account.api-us1.com/api/:version/contacts/2/contactAutomations\",\n                \"contactData\": \"https://:account.api-us1.com/api/:version/contacts/2/contactData\",\n                \"contactGoals\": \"https://:account.api-us1.com/api/:version/contacts/2/contactGoals\",\n                \"contactLists\": \"https://:account.api-us1.com/api/:version/contacts/2/contactLists\",\n                \"contactLogs\": \"https://:account.api-us1.com/api/:version/contacts/2/contactLogs\",\n                \"contactTags\": \"https://:account.api-us1.com/api/:version/contacts/2/contactTags\",\n                \"contactDeals\": \"https://:account.api-us1.com/api/:version/contacts/2/contactDeals\",\n                \"deals\": \"https://:account.api-us1.com/api/:version/contacts/2/deals\",\n                \"fieldValues\": \"https://:account.api-us1.com/api/:version/contacts/2/fieldValues\",\n                \"geoIps\": \"https://:account.api-us1.com/api/:version/contacts/2/geoIps\",\n                \"notes\": \"https://:account.api-us1.com/api/:version/contacts/2/notes\",\n                \"organization\": \"https://:account.api-us1.com/api/:version/contacts/2/organization\",\n                \"plusAppend\": \"https://:account.api-us1.com/api/:version/contacts/2/plusAppend\",\n                \"trackingLogs\": \"https://:account.api-us1.com/api/:version/contacts/2/trackingLogs\",\n                \"scoreValues\": \"https://:account.api-us1.com/api/:version/contacts/2/scoreValues\"\n            },\n            \"id\": \"2\",\n            \"organization\": null\n        }\n    ],\n    \"fieldValue\": {\n        \"contact\": 2,\n        \"field\": 3,\n        \"value\": \"Blue\",\n        \"cdate\": \"2018-10-01T17:18:40-05:00\",\n        \"udate\": \"2018-10-01T17:18:40-05:00\",\n        \"links\": {\n            \"owner\": \"https://:account.api-us1.com/api/:version/fieldValues/15/owner\",\n            \"field\": \"https://:account.api-us1.com/api/:version/fieldValues/15/field\"\n        },\n        \"owner\": 2,\n        \"id\": \"15\"\n    }\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request body is JSON but not an object: a non-empty list, or a single value such as a string, number or true. An empty or falsy body is read as an empty object and fails with 422.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "errors": {
                      "description": "One entry describing the error.",
                      "type": "array",
                      "items": {
                        "properties": {
                          "status": {
                            "description": "The HTTP status code, as an integer.",
                            "type": "integer"
                          },
                          "title": {
                            "description": "The HTTP status text, present on some errors.",
                            "type": "string"
                          },
                          "detail": {
                            "description": "What went wrong.",
                            "type": "string"
                          }
                        },
                        "type": "object"
                      }
                    }
                  },
                  "type": "object"
                },
                "example": {
                  "errors": [
                    {
                      "status": 400,
                      "title": "Bad Request",
                      "detail": "Request body must be a JSON object, array given."
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "The caller may not change this value. Without permission to edit contacts the detail is Forbidden and status is a string. For a user outside the Admin group calling the API directly, the field must be available on at least one list the user can access (or on all lists); otherwise the detail is \"You do not have permission to perform this action\", with an integer status and a title.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "errors": {
                      "description": "One entry describing the error.",
                      "type": "array",
                      "items": {
                        "properties": {
                          "status": {
                            "description": "The HTTP status code. A string for missing contact-edit permission, an integer for the list check.",
                            "type": [
                              "string",
                              "integer"
                            ]
                          },
                          "title": {
                            "description": "The HTTP status text, present on some errors.",
                            "type": "string"
                          },
                          "detail": {
                            "description": "What went wrong.",
                            "type": "string"
                          }
                        },
                        "type": "object"
                      }
                    }
                  },
                  "type": "object"
                },
                "example": {
                  "errors": [
                    {
                      "status": "403",
                      "detail": "Forbidden"
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "No contact has the id in fieldValue.contact. A missing contact id is read as 0.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "message": {
                      "description": "What was not found.",
                      "type": "string",
                      "example": "No Result found for Subscriber with id 999999"
                    }
                  },
                  "type": "object"
                },
                "examples": {
                  "Result": {
                    "summary": "The resource was not found",
                    "value": "{\n    \"message\": \"No Result found for Subscriber with id 999999\"\n}"
                  }
                }
              }
            }
          },
          "422": {
            "description": "fieldValue.field is missing, or no custom field has that id. Nothing was saved.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "errors": {
                      "description": "One entry describing the error.",
                      "type": "array",
                      "items": {
                        "properties": {
                          "status": {
                            "description": "The HTTP status code, as a string.",
                            "type": "string"
                          },
                          "detail": {
                            "description": "What went wrong.",
                            "type": "string"
                          }
                        },
                        "type": "object"
                      }
                    }
                  },
                  "type": "object"
                },
                "examples": {
                  "Result": {
                    "summary": "The request failed validation",
                    "value": "{\n    \"errors\": [\n        {\n            \"status\": \"422\",\n            \"detail\": \"Error: Field id not valid\"\n        }\n    ]\n}"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```