---
title: "Create a new requirement group"
method: POST
path: "/requirement_groups"
tags: ["Requirement Groups"]
---

# Create a new requirement group

`POST /requirement_groups`

## Request body

- object
  - `country_code` string, required — ISO alpha 2 country code
  - `phone_number_type` 'local' | 'toll_free' | 'mobile' | 'national' | 'shared_cost', required
  - `action` 'ordering' | 'porting', required
  - `customer_reference` string
  - `regulatory_requirements` object[]
    - `requirement_id` string
    - `field_value` string

## Response `200`

Requirement group created

- RequirementGroup
  - `id` string
  - `country_code` string
  - `phone_number_type` string
  - `status` 'approved' | 'unapproved' | 'pending-approval' | 'declined' | 'expired'
  - `action` string
  - `customer_reference` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `record_type` string
  - `regulatory_requirements` UserRequirement[]
    - `requirement_id` string
    - `field_value` string
    - `field_type` string
    - `status` 'approved' | 'unapproved' | 'pending-approval' | 'declined' | 'expired'
    - `expires_at` string, date-time
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400` — Bad request, the request was unacceptable, often due to missing a required parameter.
- `401` — Unauthorized
- `422` — Unprocessable entity. Check the 'detail' field in response for details.
- `500` — Unexpected error

---

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