---
title: "Create Contact Activity"
method: POST
path: "/v1/contact/{contactId}/activity"
tags: ["Contacts"]
---

# Create Contact Activity

`POST /v1/contact/{contactId}/activity`

Adds an activity relating to the contact. The added activity is displayed on the *Activities* tab of the contact profile page.

## Path parameters

- `contactId` string, required

## Headers

- `RequestId` string, uuid — The unique request identifier used to correlate request data with log entries and events, formatted as a UUID.
- `FrontOfficeTenantId` integer
- `Tenant` string

## Request body

- ContactActivity
  - `typeId` integer, required — The identifier for the activity type.
  - `name` string — The name of the activity type.
  - `show_in` integer — An indicator of which activity type group the current activity type should be included in. Allowed values: -2 for Archived Activities/Tasks, -1 for All Activities/Tasks, 0 for Custom Tasks/Activities, 1 for Activities, 2 for Tasks. A value of -2 cannot be submitted when creating an activity.
  - `activityDate` string, date-time — The date of the activity.
  - `contactId` integer — The identifier for the contact who logged the activity.
  - `id` integer — The identifier for the contact activity.
  - `notes` string — Notes on the contact activity.
  - `userId` integer — The identifier for the user who created the activity.
  - `contactActivityDetailsDefinitionIds` integer[] — The list of identifiers for the contact activity details definitions associated with the activity.

## Response `200`

The contact activity that was created.

- ContactActivity
  - `typeId` integer, required — The identifier for the activity type.
  - `name` string — The name of the activity type.
  - `show_in` integer — An indicator of which activity type group the current activity type should be included in. Allowed values: -2 for Archived Activities/Tasks, -1 for All Activities/Tasks, 0 for Custom Tasks/Activities, 1 for Activities, 2 for Tasks. A value of -2 cannot be submitted when creating an activity.
  - `activityDate` string, date-time — The date of the activity.
  - `contactId` integer — The identifier for the contact who logged the activity.
  - `id` integer — The identifier for the contact activity.
  - `notes` string — Notes on the contact activity.
  - `userId` integer — The identifier for the user who created the activity.
  - `contactActivityDetailsDefinitionIds` integer[] — The list of identifiers for the contact activity details definitions associated with the activity.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Access Denied
- `404` — Not found
- `405` — Unsupported method
- `406` — Unsupported format(s) indicated by Accept header
- `415` — Unsupported format(s) indicated by the Content-Type header
- `429` — Too many requests
- `500` — An unexpected error occurred
- `502` — Service Unavailable
- `504` — Gateway Timeout

---

[API](https://skmtc.net/avionte/apis/aviont-partner-authorization-api.md) · [All operations](https://skmtc.net/avionte/apis/aviont-partner-authorization-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/avionte/aviont-partner-authorization-api/versions/846b33e4e71b/schema)
