---
title: "Create a new routing key"
method: POST
path: "/api-public/v1/org/routing-keys"
tags: ["Routing Keys"]
---

# Create a new routing key

`POST /api-public/v1/org/routing-keys`

Creates a new routing key with escalation policy mapping. The targets array is a list of escalation policy policySlugs that the new routing key will target.
This API may be called a maximum of 2 times per second.

## Headers

- `X-VO-Api-Id` string, required
- `X-VO-Api-Key` string, required

## Request body

- RoutingKeyPayload
  - `routingKey` string
  - `targets` string[]

## Response `200`

The created routing-key

- CreateRoutingKeyResponse — Info about the newly created routing key
  - `routingKey` string
  - `targets` string[]

## Other responses

- `400` — Problem with the request arguments. The response payload may include an error message.
- `401` — Authentication parameters missing
- `403` — Authentication failed or rate-limit reached
- `404` — Path not found
- `500` — Internal Server Error

---

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