ActivityTypes
Add new activity type
Changed onAdds a new activity type.
post/activityTypes
Request
- Base URLhttps://api.pipedrive.com/v1
- Auth
- API key in header x-api-token
- or OAuth 2Authorization code: https://oauth.pipedrive.com/oauth/authorizeToken URL: https://oauth.pipedrive.com/oauth/token scopes: admin
Request body
Example request
{
"name": "call",
"color": "FFFFFF"
}Response
The activity type was successfully created
Changes
- breaking
the
//response's property format changed fromdatetimetodate-timefor status - breaking
the
//response's property format changed fromdatetimetodate-timefor status
- breaking
- breaking
removed the media type
application/x-www-form-urlencodedfrom the request body - info
added the media type
application/jsonto the request body
- breaking