Announcement

Collapse
No announcement yet.

How to Assign Team via API POST

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Assign Team via API POST

    Hi
    How do I assign Team to a Lead via API POST

    Ive tried:

    "teams":"MyTeam"
    "teamsIds":"id######"

    This is not working for me.

  • #2
    Hi

    Set this data as a lead field

    Like

    $leadData = [
    "firstName" => "Peter",
    "lastName" => "Peterson",
    "teamsIds" => ["the_id_of_first_team", "the_id_of_second_team"]
    ];
    You can set teamsNames as well, but it is not necessary.

    Comment


    • #3
      Thank you. Very helpful.

      Comment

      Working...
      X