> For the complete documentation index, see [llms.txt](https://docs.idlayr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.idlayr.com/api-reference/sim-check/v1.md).

# v1

SIM Swap detection. Create a Check for a phone number; the Create response resolves to `COMPLETED` (with `no_sim_change` / `sim_change_within`) or `ERROR`.

## List Checks

> Get a page of Checks scoped to the calling project.

```json
{"openapi":"3.1.0","info":{"title":"IDlayr SIM Swap API","version":"1.0.0"},"tags":[{"name":"sim_swap_check_v1","description":"SIM Swap detection. Create a Check for a phone number; the Create response resolves to\n`COMPLETED` (with `no_sim_change` / `sim_change_within`) or `ERROR`.\n"}],"servers":[{"url":"https://{data_residency}.api.idlayr.com","description":"For accounts with data residency in the EU or US.","variables":{"data_residency":{"default":"eu","enum":["eu","us"]}}}],"security":[{"ProjectBearerAuth":[]}],"components":{"securitySchemes":{"ProjectBearerAuth":{"description":"The IDlayr APIs expect the bearer token to be an [OAuth2 Access Token](https://tools.ietf.org/html/rfc6749#section-1.4).\nThe access token should be in the `Authorization` HTTP header,\ne.g. `Authorization: Bearer {access_token}`. See [Create an Access Token](/docs/reference/basics#operation/oauth2-token).\n\nThe token should be associated with an **IDlayr** Project. These are created using a Project's `client_id` and `client_secret`.\n","type":"http","scheme":"bearer"}},"parameters":{"pageSize":{"name":"size","description":"The number of items returned per page.","in":"query","schema":{"type":"integer","default":10,"minimum":1,"maximum":100}},"pageNumber":{"name":"page","description":"The page number being requested.","in":"query","schema":{"type":"integer","default":1,"minimum":1}}},"headers":{"X-RateLimit-Limit":{"description":"Request limit per second.","schema":{"type":"integer"},"required":true},"X-RateLimit-Remaining":{"description":"Remaining requests for the rate limit period.","schema":{"type":"integer"},"required":true},"X-RateLimit-Reset":{"description":"Time left, in seconds, for `X-RateLimit-Remaining` to be reset.","schema":{"type":"integer"},"required":true}},"schemas":{"SimSwapCheckPage":{"description":"Page wrapper for a list of Checks: a `content` array plus a `page` block\nwith `size` / `number` / `total_pages` / `total_elements` metadata.\n","type":"object","unevaluatedProperties":false,"required":["content","page"],"properties":{"content":{"description":"Checks in the current page.","type":"array","items":{"$ref":"#/components/schemas/SimSwapCheck"}},"page":{"description":"Pagination metadata for the collection.","$ref":"#/components/schemas/page"}}},"SimSwapCheck":{"description":"A Check resource. The presence of `no_sim_change`, `sim_change_within`, `network_id`\nand `error_code` is determined by `status`:\n- `COMPLETED`: `no_sim_change`, `no_sim_change_period` and `network_id` required;\n  `sim_change_within` optional (only when the MNO supplies it); `error_code` absent.\n- `ERROR`: `error_code` required; `no_sim_change` / `no_sim_change_period` /\n  `sim_change_within` / `network_id` absent.\n","type":"object","unevaluatedProperties":false,"required":["check_id","status","created_at"],"properties":{"check_id":{"description":"The unique ID of the Check resource.","$ref":"#/components/schemas/UUID"},"status":{"$ref":"#/components/schemas/SimSwapCheckStatus"},"no_sim_change":{"description":"`true` if the SIM card has *not* been changed within `no_sim_change_period`.\n`false` if a change was detected within the window.\n","type":"boolean"},"no_sim_change_period":{"description":"The evaluation window applied for `no_sim_change`, in minutes. Echoes the\n`period` from the create payload (or the default 10080).\n","type":"integer"},"sim_change_within":{"$ref":"#/components/schemas/SimChangeWithin"},"network_id":{"description":"Network identifier resolved during the verification.","$ref":"#/components/schemas/NetworkIDResponse"},"reference_id":{"description":"Caller-supplied reference, echoed from the create request.","type":"string"},"error_code":{"$ref":"#/components/schemas/SimSwapCheckErrorCode"},"created_at":{"description":"When the Check was created.","$ref":"#/components/schemas/ISODateTime"},"updated_at":{"description":"When the Check was last updated.","$ref":"#/components/schemas/ISODateTime"}},"allOf":[{"if":{"required":["status"],"properties":{"status":{"description":"Discriminator for the conditional state shape.","const":"COMPLETED"}}},"then":{"required":["no_sim_change","no_sim_change_period","network_id"],"not":{"required":["error_code"]}}},{"if":{"required":["status"],"properties":{"status":{"description":"Discriminator for the conditional state shape.","const":"ERROR"}}},"then":{"required":["error_code"],"not":{"anyOf":[{"required":["no_sim_change"]},{"required":["no_sim_change_period"]},{"required":["sim_change_within"]},{"required":["network_id"]}]}}}]},"UUID":{"description":"A Universally Unique IDentifier.","type":"string","format":"uuid","pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"},"SimSwapCheckStatus":{"description":"The status of a Check:\n- `COMPLETED`: The Check resolved and `no_sim_change` reflects the SIM Swap result.\n- `ERROR`: An error prevented the Check from resolving; see `error_code`.\n","type":"string","enum":["COMPLETED","ERROR"]},"SimChangeWithin":{"description":"Time bucket containing the most recent SIM change, in minutes. Only returned when the\nMNO provides this information and `status` is `COMPLETED`.\n","type":"integer"},"NetworkIDResponse":{"description":"The ID of the Network resolved during the verification flow.","type":"string"},"SimSwapCheckErrorCode":{"description":"Set when `status` is `ERROR`:\n- `mno_not_supported`: The MNO is not supported.\n- `mno_timeout`: The request timed out with the MNO.\n- `mno_user_not_found`: The supplied phone number is not recognized by the MNO; it may be associated with an unsupported MVNO.\n- `mno_response_error`: The MNO responded with an invalid response.\n- `mno_server_error`: An error occurred with the MNO.\n- `mno_no_data_available`: The MNO is not allowed to share this information.\n","type":"string","enum":["mno_not_supported","mno_timeout","mno_user_not_found","mno_response_error","mno_server_error","mno_no_data_available"]},"ISODateTime":{"description":"A DateTime conforming to ISO 8601 specifications.","type":"string","format":"date-time"},"page":{"description":"Pagination metadata.","type":"object","unevaluatedProperties":false,"required":["size","number","total_pages","total_elements"],"properties":{"size":{"description":"The number of records per page.","type":"integer"},"number":{"description":"The current page number.","type":"integer"},"total_pages":{"description":"The total number of pages available.","type":"integer"},"total_elements":{"description":"The total number of records across all pages.","type":"integer"}}},"RateLimitReached":{"description":"The API rate limit for the workspace has been exceeded. The `Retry-After` header carries\nthe number of seconds after which the caller can retry.\n","type":"object","unevaluatedProperties":false,"required":["type","title","status","detail","error_code"],"properties":{"type":{"description":"A URI reference [RFC 3986] that identifies the problem type.","type":"string"},"title":{"description":"A short, human-readable summary of the problem type.","type":"string"},"status":{"description":"The HTTP status code generated by the origin server for this occurrence of the problem.","type":"integer"},"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","type":"string"},"error_code":{"description":"Machine-readable error code identifying the problem type.","type":"string"}}}}},"paths":{"/v1/sim-swap-checks":{"get":{"summary":"List Checks","description":"Get a page of Checks scoped to the calling project.","operationId":"get-sim-swap-checks-v1","tags":["sim_swap_check_v1"],"parameters":[{"$ref":"#/components/parameters/pageSize"},{"$ref":"#/components/parameters/pageNumber"},{"name":"search","in":"query","description":"Optional RSQL filter applied on top of the implicit project scope. Filterable fields: status, network_id, error_code, reference_id, created_at, updated_at.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of Checks.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimSwapCheckPage"}}}},"429":{"description":"Rate Limit Reached","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/RateLimitReached"}}}}}}}}}
```

## Create a Check

> Creates a SIM Swap Check for the supplied phone number. The Check is resolved\
> server-side within this request: the response contains the terminal \`status\`\
> (\`COMPLETED\` or \`ERROR\`) and, when \`COMPLETED\`, the SIM-change result.<br>

```json
{"openapi":"3.1.0","info":{"title":"IDlayr SIM Swap API","version":"1.0.0"},"tags":[{"name":"sim_swap_check_v1","description":"SIM Swap detection. Create a Check for a phone number; the Create response resolves to\n`COMPLETED` (with `no_sim_change` / `sim_change_within`) or `ERROR`.\n"}],"servers":[{"url":"https://{data_residency}.api.idlayr.com","description":"For accounts with data residency in the EU or US.","variables":{"data_residency":{"default":"eu","enum":["eu","us"]}}}],"security":[{"ProjectBearerAuth":[]}],"components":{"securitySchemes":{"ProjectBearerAuth":{"description":"The IDlayr APIs expect the bearer token to be an [OAuth2 Access Token](https://tools.ietf.org/html/rfc6749#section-1.4).\nThe access token should be in the `Authorization` HTTP header,\ne.g. `Authorization: Bearer {access_token}`. See [Create an Access Token](/docs/reference/basics#operation/oauth2-token).\n\nThe token should be associated with an **IDlayr** Project. These are created using a Project's `client_id` and `client_secret`.\n","type":"http","scheme":"bearer"}},"schemas":{"SimSwapCheckCreatePayload":{"description":"Payload for creating a SIM Swap Check.","type":"object","unevaluatedProperties":false,"required":["phone_number"],"properties":{"phone_number":{"description":"The phone number to check, in [E.164 format](https://www.itu.int/rec/T-REC-E.164-201011-I/en) (leading `+`).","type":"string","format":"E.164"},"phone_ip":{"description":"Optional. The IP address (IPv4 or IPv6) of the mobile device associated with the phone number.","type":"string"},"reference_id":{"description":"Optional. Your own internal reference for this Check; echoed back on responses.\nDo not use Personally Identifiable Information (PII).\n","type":"string","maxLength":50},"period":{"description":"Optional. Time window for `no_sim_change` evaluation, in minutes. The Check returns\n`no_sim_change=true` iff the SIM has *not* been changed within this window.\n\nAllowed range: 60 (1 hour) to 540000 (375 days). Default: 10080 (7 days).\n","type":"integer","minimum":60,"maximum":540000,"default":10080}}},"SimSwapCheck":{"description":"A Check resource. The presence of `no_sim_change`, `sim_change_within`, `network_id`\nand `error_code` is determined by `status`:\n- `COMPLETED`: `no_sim_change`, `no_sim_change_period` and `network_id` required;\n  `sim_change_within` optional (only when the MNO supplies it); `error_code` absent.\n- `ERROR`: `error_code` required; `no_sim_change` / `no_sim_change_period` /\n  `sim_change_within` / `network_id` absent.\n","type":"object","unevaluatedProperties":false,"required":["check_id","status","created_at"],"properties":{"check_id":{"description":"The unique ID of the Check resource.","$ref":"#/components/schemas/UUID"},"status":{"$ref":"#/components/schemas/SimSwapCheckStatus"},"no_sim_change":{"description":"`true` if the SIM card has *not* been changed within `no_sim_change_period`.\n`false` if a change was detected within the window.\n","type":"boolean"},"no_sim_change_period":{"description":"The evaluation window applied for `no_sim_change`, in minutes. Echoes the\n`period` from the create payload (or the default 10080).\n","type":"integer"},"sim_change_within":{"$ref":"#/components/schemas/SimChangeWithin"},"network_id":{"description":"Network identifier resolved during the verification.","$ref":"#/components/schemas/NetworkIDResponse"},"reference_id":{"description":"Caller-supplied reference, echoed from the create request.","type":"string"},"error_code":{"$ref":"#/components/schemas/SimSwapCheckErrorCode"},"created_at":{"description":"When the Check was created.","$ref":"#/components/schemas/ISODateTime"},"updated_at":{"description":"When the Check was last updated.","$ref":"#/components/schemas/ISODateTime"}},"allOf":[{"if":{"required":["status"],"properties":{"status":{"description":"Discriminator for the conditional state shape.","const":"COMPLETED"}}},"then":{"required":["no_sim_change","no_sim_change_period","network_id"],"not":{"required":["error_code"]}}},{"if":{"required":["status"],"properties":{"status":{"description":"Discriminator for the conditional state shape.","const":"ERROR"}}},"then":{"required":["error_code"],"not":{"anyOf":[{"required":["no_sim_change"]},{"required":["no_sim_change_period"]},{"required":["sim_change_within"]},{"required":["network_id"]}]}}}]},"UUID":{"description":"A Universally Unique IDentifier.","type":"string","format":"uuid","pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"},"SimSwapCheckStatus":{"description":"The status of a Check:\n- `COMPLETED`: The Check resolved and `no_sim_change` reflects the SIM Swap result.\n- `ERROR`: An error prevented the Check from resolving; see `error_code`.\n","type":"string","enum":["COMPLETED","ERROR"]},"SimChangeWithin":{"description":"Time bucket containing the most recent SIM change, in minutes. Only returned when the\nMNO provides this information and `status` is `COMPLETED`.\n","type":"integer"},"NetworkIDResponse":{"description":"The ID of the Network resolved during the verification flow.","type":"string"},"SimSwapCheckErrorCode":{"description":"Set when `status` is `ERROR`:\n- `mno_not_supported`: The MNO is not supported.\n- `mno_timeout`: The request timed out with the MNO.\n- `mno_user_not_found`: The supplied phone number is not recognized by the MNO; it may be associated with an unsupported MVNO.\n- `mno_response_error`: The MNO responded with an invalid response.\n- `mno_server_error`: An error occurred with the MNO.\n- `mno_no_data_available`: The MNO is not allowed to share this information.\n","type":"string","enum":["mno_not_supported","mno_timeout","mno_user_not_found","mno_response_error","mno_server_error","mno_no_data_available"]},"ISODateTime":{"description":"A DateTime conforming to ISO 8601 specifications.","type":"string","format":"date-time"},"PhoneNumberBadRequest":{"description":"The request could not be processed for the supplied phone number. `error_code`\ndistinguishes the cause:\n- `phone_number_invalid`: the supplied phone number is not valid E.164.\n- `mno_not_supported`: the Mobile Network Operator for the supplied number is not supported.\n","type":"object","unevaluatedProperties":false,"required":["type","title","status","detail","error_code"],"properties":{"type":{"description":"A URI reference [RFC 3986] that identifies the problem type.","type":"string"},"title":{"description":"A short, human-readable summary of the problem type.","type":"string"},"status":{"description":"The HTTP status code generated by the origin server for this occurrence of the problem.","type":"integer"},"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","type":"string"},"error_code":{"description":"Machine-readable error code identifying the cause of the bad request.","type":"string","enum":["phone_number_invalid","mno_not_supported"]}}},"RateLimitReached":{"description":"The API rate limit for the workspace has been exceeded. The `Retry-After` header carries\nthe number of seconds after which the caller can retry.\n","type":"object","unevaluatedProperties":false,"required":["type","title","status","detail","error_code"],"properties":{"type":{"description":"A URI reference [RFC 3986] that identifies the problem type.","type":"string"},"title":{"description":"A short, human-readable summary of the problem type.","type":"string"},"status":{"description":"The HTTP status code generated by the origin server for this occurrence of the problem.","type":"integer"},"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","type":"string"},"error_code":{"description":"Machine-readable error code identifying the problem type.","type":"string"}}}},"headers":{"X-RateLimit-Limit":{"description":"Request limit per second.","schema":{"type":"integer"},"required":true},"X-RateLimit-Remaining":{"description":"Remaining requests for the rate limit period.","schema":{"type":"integer"},"required":true},"X-RateLimit-Reset":{"description":"Time left, in seconds, for `X-RateLimit-Remaining` to be reset.","schema":{"type":"integer"},"required":true}}},"paths":{"/v1/sim-swap-checks":{"post":{"summary":"Create a Check","description":"Creates a SIM Swap Check for the supplied phone number. The Check is resolved\nserver-side within this request: the response contains the terminal `status`\n(`COMPLETED` or `ERROR`) and, when `COMPLETED`, the SIM-change result.\n","operationId":"create-sim-swap-check-v1","tags":["sim_swap_check_v1"],"requestBody":{"description":"JSON payload to create a Check.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimSwapCheckCreatePayload"}}}},"responses":{"201":{"description":"Check created.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimSwapCheck"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/PhoneNumberBadRequest"}}}},"429":{"description":"Rate Limit Reached","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/RateLimitReached"}}}}}}}}}
```

## Get a Check

> Get the Check identified by \`check\_id\`.

```json
{"openapi":"3.1.0","info":{"title":"IDlayr SIM Swap API","version":"1.0.0"},"tags":[{"name":"sim_swap_check_v1","description":"SIM Swap detection. Create a Check for a phone number; the Create response resolves to\n`COMPLETED` (with `no_sim_change` / `sim_change_within`) or `ERROR`.\n"}],"servers":[{"url":"https://{data_residency}.api.idlayr.com","description":"For accounts with data residency in the EU or US.","variables":{"data_residency":{"default":"eu","enum":["eu","us"]}}}],"security":[{"ProjectBearerAuth":[]}],"components":{"securitySchemes":{"ProjectBearerAuth":{"description":"The IDlayr APIs expect the bearer token to be an [OAuth2 Access Token](https://tools.ietf.org/html/rfc6749#section-1.4).\nThe access token should be in the `Authorization` HTTP header,\ne.g. `Authorization: Bearer {access_token}`. See [Create an Access Token](/docs/reference/basics#operation/oauth2-token).\n\nThe token should be associated with an **IDlayr** Project. These are created using a Project's `client_id` and `client_secret`.\n","type":"http","scheme":"bearer"}},"headers":{"X-RateLimit-Limit":{"description":"Request limit per second.","schema":{"type":"integer"},"required":true},"X-RateLimit-Remaining":{"description":"Remaining requests for the rate limit period.","schema":{"type":"integer"},"required":true},"X-RateLimit-Reset":{"description":"Time left, in seconds, for `X-RateLimit-Remaining` to be reset.","schema":{"type":"integer"},"required":true}},"schemas":{"SimSwapCheck":{"description":"A Check resource. The presence of `no_sim_change`, `sim_change_within`, `network_id`\nand `error_code` is determined by `status`:\n- `COMPLETED`: `no_sim_change`, `no_sim_change_period` and `network_id` required;\n  `sim_change_within` optional (only when the MNO supplies it); `error_code` absent.\n- `ERROR`: `error_code` required; `no_sim_change` / `no_sim_change_period` /\n  `sim_change_within` / `network_id` absent.\n","type":"object","unevaluatedProperties":false,"required":["check_id","status","created_at"],"properties":{"check_id":{"description":"The unique ID of the Check resource.","$ref":"#/components/schemas/UUID"},"status":{"$ref":"#/components/schemas/SimSwapCheckStatus"},"no_sim_change":{"description":"`true` if the SIM card has *not* been changed within `no_sim_change_period`.\n`false` if a change was detected within the window.\n","type":"boolean"},"no_sim_change_period":{"description":"The evaluation window applied for `no_sim_change`, in minutes. Echoes the\n`period` from the create payload (or the default 10080).\n","type":"integer"},"sim_change_within":{"$ref":"#/components/schemas/SimChangeWithin"},"network_id":{"description":"Network identifier resolved during the verification.","$ref":"#/components/schemas/NetworkIDResponse"},"reference_id":{"description":"Caller-supplied reference, echoed from the create request.","type":"string"},"error_code":{"$ref":"#/components/schemas/SimSwapCheckErrorCode"},"created_at":{"description":"When the Check was created.","$ref":"#/components/schemas/ISODateTime"},"updated_at":{"description":"When the Check was last updated.","$ref":"#/components/schemas/ISODateTime"}},"allOf":[{"if":{"required":["status"],"properties":{"status":{"description":"Discriminator for the conditional state shape.","const":"COMPLETED"}}},"then":{"required":["no_sim_change","no_sim_change_period","network_id"],"not":{"required":["error_code"]}}},{"if":{"required":["status"],"properties":{"status":{"description":"Discriminator for the conditional state shape.","const":"ERROR"}}},"then":{"required":["error_code"],"not":{"anyOf":[{"required":["no_sim_change"]},{"required":["no_sim_change_period"]},{"required":["sim_change_within"]},{"required":["network_id"]}]}}}]},"UUID":{"description":"A Universally Unique IDentifier.","type":"string","format":"uuid","pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"},"SimSwapCheckStatus":{"description":"The status of a Check:\n- `COMPLETED`: The Check resolved and `no_sim_change` reflects the SIM Swap result.\n- `ERROR`: An error prevented the Check from resolving; see `error_code`.\n","type":"string","enum":["COMPLETED","ERROR"]},"SimChangeWithin":{"description":"Time bucket containing the most recent SIM change, in minutes. Only returned when the\nMNO provides this information and `status` is `COMPLETED`.\n","type":"integer"},"NetworkIDResponse":{"description":"The ID of the Network resolved during the verification flow.","type":"string"},"SimSwapCheckErrorCode":{"description":"Set when `status` is `ERROR`:\n- `mno_not_supported`: The MNO is not supported.\n- `mno_timeout`: The request timed out with the MNO.\n- `mno_user_not_found`: The supplied phone number is not recognized by the MNO; it may be associated with an unsupported MVNO.\n- `mno_response_error`: The MNO responded with an invalid response.\n- `mno_server_error`: An error occurred with the MNO.\n- `mno_no_data_available`: The MNO is not allowed to share this information.\n","type":"string","enum":["mno_not_supported","mno_timeout","mno_user_not_found","mno_response_error","mno_server_error","mno_no_data_available"]},"ISODateTime":{"description":"A DateTime conforming to ISO 8601 specifications.","type":"string","format":"date-time"},"CheckNotFound":{"description":"The Check identified by `check_id` does not exist or is no longer retrievable.","type":"object","unevaluatedProperties":false,"required":["type","title","status","detail","error_code"],"properties":{"type":{"description":"A URI reference [RFC 3986] that identifies the problem type.","type":"string"},"title":{"description":"A short, human-readable summary of the problem type.","type":"string"},"status":{"description":"The HTTP status code generated by the origin server for this occurrence of the problem.","type":"integer"},"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","type":"string"},"error_code":{"description":"Machine-readable error code identifying the problem type.","type":"string"}}},"RateLimitReached":{"description":"The API rate limit for the workspace has been exceeded. The `Retry-After` header carries\nthe number of seconds after which the caller can retry.\n","type":"object","unevaluatedProperties":false,"required":["type","title","status","detail","error_code"],"properties":{"type":{"description":"A URI reference [RFC 3986] that identifies the problem type.","type":"string"},"title":{"description":"A short, human-readable summary of the problem type.","type":"string"},"status":{"description":"The HTTP status code generated by the origin server for this occurrence of the problem.","type":"integer"},"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","type":"string"},"error_code":{"description":"Machine-readable error code identifying the problem type.","type":"string"}}}}},"paths":{"/v1/sim-swap-checks/{check_id}":{"get":{"summary":"Get a Check","description":"Get the Check identified by `check_id`.","operationId":"get-sim-swap-check-v1","tags":["sim_swap_check_v1"],"responses":{"200":{"description":"The Check.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimSwapCheck"}}}},"404":{"description":"Check Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/CheckNotFound"}}}},"429":{"description":"Rate Limit Reached","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/RateLimitReached"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.idlayr.com/api-reference/sim-check/v1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
