v1

latestOpenAPI 3.0.02026-07-24226294602.4 KB
Lead Group

Add Leads to Group

Adds the given Leads to the specified Group. If a Lead already belongs to another Group, they will be removed from their existing Group and added to the specified Group.

put/leads/group/{group_id}/participants

Path parameters

group_idinteger required

Id of the Group.

Headers

x-api-keystring required

A valid API key. If you don't have one, please request one through the Web Integrations screen.

Request body

Example request

{
  "group_participants": [
    {
      "group_participant_lead_id": 1234567891234567,
      "group_role_id": 1234567891234567
    }
  ]
}

Response

Returns the Group data of the newly created Group.

Example response

{
  "client_group": {
    "group_id": 1234567891234567,
    "group_participants": [
      {
        "group_participant_client_id": 1234567891234567,
        "group_role_id": 1234567891234567
      }
    ]
  }
}