---
title: "Validate SIM cards registration codes"
method: POST
path: "/sim_cards/actions/validate_registration_codes"
tags: ["SIM Cards"]
---

# Validate SIM cards registration codes

`POST /sim_cards/actions/validate_registration_codes`

It validates whether SIM card registration codes are valid or not.

## Request body

- object — The object containing the Array of SIM card registration codes.
  - `registration_codes` string[]

## Response `200`

Successful

- SIMCardRegistrationCodeValidations
  - `data` SIMCardRegistrationCodeValidation[]
    - `record_type` string
    - `registration_code` string — The 10-digit SIM card registration code
    - `valid` boolean — The attribute that denotes whether the code is valid or not
    - `invalid_detail` string, nullable — The validation message

## Other responses

- `401` — Unauthorized
- `default` — 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/versions/e32d46c5945b/schema)
