LeadLabels

Add a lead label

Changed on

Creates a lead label.

post/leadLabels

Request

  • Base URL
    https://api.pipedrive.com/v1
  • Auth
    • API key in header x-api-token
    • or OAuth 2
      Authorization code: https://oauth.pipedrive.com/oauth/authorize
      Token URL: https://oauth.pipedrive.com/oauth/token scopes: leads:full

Request body

namestring required

The name of the lead label

color'blue' | 'brown' | 'dark-gray' | 'gray' | 'green' | 'orange' | 'pink' | 'purple' | 'red' | 'yellow' required

The color of the label. Only a subset of colors can be used.

Response

Successful response containing payload in the data field

successboolean

Changes

    • warning

      added the new brown enum value to the / response property for the response status

    • warning

      added the new dark-gray enum value to the / response property for the response status

    • warning

      added the new orange enum value to the / response property for the response status

    • warning

      added the new pink enum value to the / response property for the response status

    • info

      added the new brown enum value to the request property

    • info

      added the new dark-gray enum value to the request property

    • info

      added the new orange enum value to the request property

    • info

      added the new pink enum value to the request property

    • info

      the security scope leads:full was added to the endpoint's security scheme oauth2