Roles

Adds a new role.

post/roles

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: admin

Request body

namestring required

The name of the role

parent_role_idinteger nullable

The ID of the parent role

Response

Add a role

successboolean

If the response is successful or not

Changes