Skip to main content

Update Agent

PUT 

/agents/:id

Update Agent

Request

Path Parameters

    id stringrequired

Body

    type string

    Type

    name string

    Name

    primaryEmail string

    Email

    primaryPhone string

    Phone

    firstName string

    First Name

    lastName string

    Last Name

    nickname string

    Nickname

    gender string

    Gender

    Possible values: [Male, Female, Other]

    dateOfBirth string

    Date of Birth

    tags string

    Tags

    address1 string

    Address 1

    address2 string

    Address 2

    address3 string

    Address 3

    city string

    City

    region string

    State

    postalCode string

    Postal Code

    country string

    Country

    addresses

    object[]

  • Array [

  • agentId string

    Agent

    type string

    Type

    isPrimary string

    Is Primary

    name string

    Name

    organization string

    Organization

    address1 string

    Address1

    address2 string

    Address2

    address3 string

    Address3

    city string

    City

    region string

    Region

    postalCode string

    Postal Code

    country string

    Country

    phoneNumber string

    Phone Number

    notes string

    Notes

    tags string

    Tags

  • ]

  • contactMethods

    object[]

  • Array [

  • agentId string

    Agent

    type string

    Type

    Possible values: [Email, Phone, Fax, SMS, Social Media, Other]

    name string

    Name- Add a name for this contact method

    value string

    Value

    priority number

    Priority

    preferences string

    Preferences

    notes string

    Notes- Any instructions or preferences for this contact method.

    confirmed string

    Confirmed

    tags string

    Tags

  • ]

  • documents

    object[]

  • Array [

  • agentId string

    Agent

    tags string

    Tags

    type string

    Type

    name string

    Name

    fileName string

    File Name

    notes string

    Notes

    visibility string

    Visibility

  • ]

  • notes

    object[]

  • Array [

  • agentId string

    Agent

    note string

    Note

    tags string

    Tags

  • ]

  • preferences

    object[]

  • Array [

  • agentId string

    Agent

    key string

    Key

    value string

    Value

    strict string

    Strict

    notes string

    Notes

    tags string

    Tags

  • ]

Responses

Updated Agent

Schema

    type string

    Type

    name string

    Name

    primaryEmail string

    Email

    primaryPhone string

    Phone

    firstName string

    First Name

    lastName string

    Last Name

    nickname string

    Nickname

    gender string

    Gender

    Possible values: [Male, Female, Other]

    dateOfBirth string

    Date of Birth

    tags string

    Tags

    address1 string

    Address 1

    address2 string

    Address 2

    address3 string

    Address 3

    city string

    City

    region string

    State

    postalCode string

    Postal Code

    country string

    Country

    lastActive string

    Last Active

    id string

    Id

    createdAt string

    Created At

    updatedAt string

    Updated At

    deletedAt string

    Deleted At

    deleted string

    Deleted

    createdBy string

    Created By

    updatedBy string

    Updated By

    deletedBy string

    Deleted By

    status string

    Status

    age number

    Age

    fullName string

    Full Name

    clientId string

    ID

Loading...