---
title: "Add new activity type"
method: POST
path: "/activityTypes"
tags: ["ActivityTypes"]
---

# Add new activity type

`POST /activityTypes`

Adds a new activity type.

## Request body

- object
  - `name` string, required — The name of the activity type
  - `icon_key` 'task' | 'email' | 'meeting' | 'deadline' | 'call' | 'lunch' | 'calendar' | 'downarrow' | 'document' | 'smartphone' | 'camera' | 'scissors' | 'cogs' | 'bubble' | 'uparrow' | 'checkbox' | 'signpost' | 'shuffle' | 'addressbook' | 'linegraph' | 'picture' | 'car' | 'world' | 'search' | 'clip' | 'sound' | 'brush' | 'key' | 'padlock' | 'pricetag' | 'suitcase' | 'finish' | 'plane' | 'loop' | 'wifi' | 'truck' | 'cart' | 'bulb' | 'bell' | 'presentation', required — Icon graphic to use for representing this activity type
  - `color` string — A designated color for the activity type in 6-character HEX format (e.g. `FFFFFF` for white, `000000` for black)

## Response `200`

The activity type was successfully created

- object
  - `success` boolean — If the response is successful or not
  - `data` object
    - `id` integer — The ID of the activity type
    - `name` string — The name of the activity type
    - `icon_key` 'task' | 'email' | 'meeting' | 'deadline' | 'call' | 'lunch' | 'calendar' | 'downarrow' | 'document' | 'smartphone' | 'camera' | 'scissors' | 'cogs' | 'bubble' | 'uparrow' | 'checkbox' | 'signpost' | 'shuffle' | 'addressbook' | 'linegraph' | 'picture' | 'car' | 'world' | 'search' | 'clip' | 'sound' | 'brush' | 'key' | 'padlock' | 'pricetag' | 'suitcase' | 'finish' | 'plane' | 'loop' | 'wifi' | 'truck' | 'cart' | 'bulb' | 'bell' | 'presentation' — Icon graphic to use for representing this activity type
    - `color` string — A designated color for the activity type in 6-character HEX format (e.g. `FFFFFF` for white, `000000` for black)
    - `order_nr` integer — An order number for the activity type. Order numbers should be used to order the types in the activity type selections.
    - `key_string` string — A string that is generated by the API based on the given name of the activity type upon creation
    - `active_flag` boolean — The active flag of the activity type
    - `is_custom_flag` boolean — Whether the activity type is a custom one or not
    - `add_time` string, date-time — The creation time of the activity type
    - `update_time` string, date-time — The update time of the activity type

---

[API](https://skmtc.net/pipedrive/apis/pipedrive-api-v1.md) · [All operations](https://skmtc.net/pipedrive/apis/pipedrive-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pipedrive/pipedrive-api-v1/revisions/bf863a979545/schema)
