---
title: How Requests Work
slug: how-requests-work
createdAt: 2026-02-16T09:35:41.523Z
---

The CSL SIM Insight API operates using secure HTTPS requests.

Each request:

- Is submitted to the API endpoint&#x20;
- Includes authentication credentials&#x20;
- Contains a structured payload&#x20;
- Returns a structured response&#x20;

The API follows a request–response model.

## Transport Protocol

All API communication uses:

- HTTPS&#x20;
- Secure socket connections&#x20;

Requests must be sent over HTTPS. Non-secure connections are not supported.

## Request Structure

Each API call consists of:

1. An authenticated request&#x20;
2. A structured payload defining the command or information request&#x20;
3. Required identifiers (for example ICCID or MSISDN where applicable)&#x20;

The payload defines:

- The action to perform&#x20;
- The parameters required&#x20;
- Any configuration values being set&#x20;

The exact structure depends on the command or query being executed. Full examples are provided in the reference sections.

## Identifying SIMs

Where a request relates to specific SIMs, they are typically identified using:

- ICCID&#x20;
- MSISDN (telephone number), where supported&#x20;

Multiple SIMs may be included in a single request, depending on the command being used.

## Response Structure

Every API request generates a structured response.

Responses indicate:

- Whether the request was successful&#x20;
- Any validation errors&#x20;
- Any processing errors&#x20;
- Requested data (for information queries)&#x20;

Responses must be parsed and validated within your integrating system.

## Processing Model

Commands that modify SIM configuration:

- Are processed immediately&#x20;
- May have direct operational impact&#x20;

Information requests:

- Do not modify system state&#x20;
- Return data available at the time of request&#x20;

It is important that integrating systems:

- Validate inputs before submission&#x20;
- Handle error responses appropriately&#x20;
- Log all outbound requests and inbound responses&#x20;
