---
title: "Create arm profile"
method: POST
path: "/v1/arm-profiles"
tags: ["Arm profile management"]
---

# Create arm profile

`POST /v1/arm-profiles`

## Request

- Base URL: `https://api.ui.com/v1/connector/consoles/942A6FF664C0000000000964970E0000000009E710560000000068A9873F:9999999999/proxy/protect/integration`
- URL: `https://api.ui.com/v1/connector/consoles/942A6FF664C0000000000964970E0000000009E710560000000068A9873F:9999999999/proxy/protect/integration/v1/arm-profiles`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ubiquiti/apis/unifi-protect-api/docs/v1/arm-profiles/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new arm profile. Only available when using local alarm manager.

## Request body

- object
  - `name` string, required: Name of the arm profile.
  - `automations` AutomationId[], required: List of automation IDs associated with this arm profile.
  - `schedules` ArmSchedule[], required: List of arm schedules.
    - `start` string, required: Cron expression for the start time.
    - `end` string, required: Cron expression for the end time.
  - `recordEverything` boolean, required: Whether to record everything when this arm profile is active.
  - `activationDelay` union, required: Activation delay in milliseconds. Allowed values: 0 (none), 60000 (1 min), 300000 (5 min), 600000 (10 min).
    - 0
    - 60000
    - 300000
    - 600000

## Response `201`

- ArmProfile
  - `id` string, required: The primary key of armProfile
  - `name` string, required: Name of the arm profile.
  - `automations` AutomationId[], required: List of automation IDs associated with this arm profile.
  - `creator` string, required: The primary key of user
  - `schedules` ArmSchedule[], required: List of arm schedules.
    - `start` string, required: Cron expression for the start time.
    - `end` string, required: Cron expression for the end time.
  - `recordEverything` boolean, required: Whether to record everything when this arm profile is active.
  - `activationDelay` union, required: Activation delay in milliseconds. Allowed values: 0 (none), 60000 (1 min), 300000 (5 min), 600000 (10 min).
    - 0
    - 60000
    - 300000
    - 600000
  - `createdAt` number, required: Arm profile creation time.
  - `updatedAt` number, required: Arm profile update time.

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ubiquiti/apis/unifi-protect-api.md) - [All operations](https://skmtc.dev/ubiquiti/apis/unifi-protect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ubiquiti/apis/unifi-protect-api/revisions/e341e1381db1?raw)
