Inbox

Set contact attributes

Update the contact attributes of a contact profile.

put/inbox/v2/contact/{contactProfileId}/contact-attributes

Request

  • Base URL
    https://platform.hootsuite.com
  • URL
    https://platform.hootsuite.com/inbox/v2/contact/{contactProfileId}/contact-attributes
  • Auth
    OAuth 2
    Authorization code: https://platform.hootsuite.com/oauth2/auth
    Token URL: https://platform.hootsuite.com/oauth2/token

Path parameters

contactProfileIdstring required

Id of the contact profile that you want to update.

Request body

autoConfirmboolean

The autoConfirm field tells Inbox 2.0 to automatically save the attributes without having to use the Confirm button.

Example request

{
  "autoConfirm": true,
  "contactAttributes": [
    {
      "attribute": "email",
      "value": "fj@example.com"
    },
    {
      "attribute": "id",
      "value": "98765432"
    },
    {
      "attribute": "first_name",
      "value": "Fred"
    },
    {
      "attribute": "last_name",
      "value": "Jones"
    },
    {
      "attribute": "last_order_number",
      "value": null
    }
  ]
}

Response

Success

object required

Changes

No recorded changes to this operation across all 1 revision of this API.