roles

Create a new role

Changed on

visibility_user_lcf_ids (optional)

A list of Lead Custom Field IDs that define which leads user with this role can see. If the role has view_all_leads permission, this field should be empty.

visibility_user_lcf_behavior (optional)

Defines how lead visibility works for leads that don't have assigned users. If the role has view_all_leads permission, this field should be empty.

  • require_assignment - leads without assigned users are not visible to this role
  • allow_unassigned - leads without assigned users are visible to this role
post/role/

Request

  • Base URL
    https://api.close.com/api/v1
  • URL
    https://api.close.com/api/v1/role/
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization code: https://app.close.com/oauth2/authorize/
      Token URL: https://api.close.com/oauth2/token/

Response

Successful response

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status