---
title: "Create a task"
method: POST
path: "/v1/resourceowner/task"
tags: ["ResourceOwnerTask"]
---

# Create a task

`POST /v1/resourceowner/task`

Creates a task

## Request body

- TaskCreateModel
  - `TaskType` 0 | 1
  - `ToContactId` integer
  - `TaskMessageText` string
  - `Position` PositionModel
    - `Longitude` number, double
    - `Latitude` number, double
  - `Title` string

## Response `200`

A link in the header is returned to the newly created task

## Other responses

- `403` — Not authorized to task
- `500` — Internal server error

---

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