---
title: "Create Incoming Call Log Item"
method: POST
path: "/incoming-call-log-item"
tags: ["Incoming Call Log Item"]
---

# Create Incoming Call Log Item

`POST /incoming-call-log-item`

## Request

- Base URL: `https://oneuptime.com/api`
- URL: `https://oneuptime.com/api/incoming-call-log-item`
- Auth: API key in header `APIKey`
- TypeScript: <https://skmtc.dev/oneuptime/apis/oneuptime-openapi-specification/docs/incoming-call-log-item/post.ts> (a function with typed inputs; its response is checked against the schema)

Endpoint to create a new Incoming Call Log Item

## Request body

- object
  - `data` IncomingCallLogItemCreateSchema, required: Create schema for IncomingCallLogItem model. Create
    - `projectId` string, uuid: ID of your OneUptime Project in which this object belongs. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `incomingCallLogId` string, uuid, required: ID of the parent Incoming Call Log. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `incomingCallPolicyId` string, uuid, required: ID of the incoming call policy whose number took the call this attempt is part of. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `incomingCallPolicyEscalationRuleId` string, uuid: ID of the escalation rule used. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `userId` string, uuid: User ID who was called. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `userPhoneNumber` object: Phone number that was dialed. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `status` 'Initiated' | 'Ringing' | 'Connected' | 'Escalated' | 'NoAnswer' | 'Failed' | 'Completed' | 'CallerHungUp' | 'Busy', required: Status of this dial attempt. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `statusMessage` string: Additional status information. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `dialDurationInSeconds` number: How long this dial lasted in seconds. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `callCostInUSDCents` number: Cost for this dial attempt in USD cents. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `startedAt` object: When dial started. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `endedAt` object: When dial ended. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `isAnswered` boolean: Whether this user answered the call. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]

## Response `201`

Created successfully

- object
  - `data` IncomingCallLogItemReadSchema: Read schema for IncomingCallLogItem model. Read
    - `_id` string, uuid: ID of this object. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `createdAt` object: Date and Time when the object was created. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `updatedAt` object: Date and Time when the object was updated. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `deletedAt` object: Date and Time when the object was deleted. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `projectId` string, uuid: ID of your OneUptime Project in which this object belongs. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `incomingCallLogId` string, uuid, required: ID of the parent Incoming Call Log. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `incomingCallPolicyId` string, uuid, required: ID of the incoming call policy whose number took the call this attempt is part of. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `incomingCallPolicyEscalationRuleId` string, uuid: ID of the escalation rule used. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `userId` string, uuid: User ID who was called. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `userPhoneNumber` object: Phone number that was dialed. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [No access - you don't have permission for this operation]
    - `status` 'Initiated' | 'Ringing' | 'Connected' | 'Escalated' | 'NoAnswer' | 'Failed' | 'Completed' | 'CallerHungUp' | 'Busy', required: Status of this dial attempt. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `statusMessage` string: Additional status information. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `dialDurationInSeconds` number: How long this dial lasted in seconds. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `callCostInUSDCents` number: Cost for this dial attempt in USD cents. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `startedAt` object: When dial started. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `endedAt` object: When dial ended. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]
    - `isAnswered` boolean: Whether this user answered the call. Permissions - Create: [Project Owner, Project Admin], Read: [Project Owner, Project Admin, Project Member, Viewer, Read Incoming Call Log Item], Update: [Project Owner, Project Admin]

## Other responses

- `400`: Bad request. This response indicates that the request was malformed or contained invalid data.
- `401`: Unauthorized. This response indicates that the request requires user authentication.
- `402`: Payment Required. This response indicates that the request requires payment or a valid subscription.
- `403`: Forbidden. This response indicates that the server understood the request, but refuses to authorize it.
- `405`: Project not found. This response indicates that the requested project does not exist or is not accessible.
- `408`: Request Timeout. This response indicates that the server timed out waiting for the request.
- `415`: Unable to reach server. This response indicates that the server is currently unreachable or down.
- `422`: Not authorized. This response indicates that the user does not have permission to access the requested resource.
- `500`: Internal Server Error. This response indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.

---

[API](https://skmtc.dev/oneuptime/apis/oneuptime-openapi-specification.md) - [All operations](https://skmtc.dev/oneuptime/apis/oneuptime-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/oneuptime/apis/oneuptime-openapi-specification/revisions/ba3307d00304?raw)
