---
title: "Create Approval Delegation"
method: POST
path: "/v2/approval-delegations"
tags: ["Approval Delegation API"]
---

# Create Approval Delegation

`POST /v2/approval-delegations`

Create a new approval delegation rule. Optionally specify a delegator_user_id to create on behalf of another user.

## Request body

- SvflowPublicapiCreateApprovalDelegationRequest
  - `delegatorUserId` string, nullable — The ID of the user who is delegating their approvals. When omitted, defaults to the authenticated user.
  - `delegates` SvflowPubapimodelsApprovalDelegate[], required — The delegates who can approve on behalf of the delegator.
    - `type` 'APPROVAL_DELEGATE_TYPE_UNSPECIFIED' | 'APPROVAL_DELEGATE_TYPE_USER' | 'APPROVAL_DELEGATE_TYPE_GROUP' — The type of delegate for an approval delegation.
    - `id` string — The ID of the delegate (user ID or group ID, depending on type).
  - `priority` integer — The priority of the delegation rule (lower values are higher priority).
  - `description` string — A description of the delegation rule.

## Response `200`

Success

- SvflowPublicapiCreateApprovalDelegationResponse
  - `data` SvflowPubapimodelsApprovalDelegation — An approval delegation rule that allows a user to delegate their approval responsibilities.
    - `id` string — The ID of the approval delegation.
    - `createdAt` string, date-time — A timestamp in RFC 3339 format (e.g., "2025-01-15T01:30:15Z").
    - `delegatorUserId` string — The ID of the user who is delegating their approvals.
    - `delegates` SvflowPubapimodelsApprovalDelegate[] — The delegates who can approve on behalf of the delegator.
      - `type` 'APPROVAL_DELEGATE_TYPE_UNSPECIFIED' | 'APPROVAL_DELEGATE_TYPE_USER' | 'APPROVAL_DELEGATE_TYPE_GROUP' — The type of delegate for an approval delegation.
      - `id` string — The ID of the delegate (user ID or group ID, depending on type).
    - `priority` integer — The priority of the delegation rule (lower values are higher priority).
    - `description` string — A description of the delegation rule.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/serval/apis/serval-public-api.md) · [All operations](https://skmtc.net/serval/apis/serval-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serval/serval-public-api/versions/0549515e9384/schema)
