> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.emnify.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.emnify.com/_mcp/server.

# List service profiles

GET https://cdn.emnify.net/api/v1/service_profile

Required permissions Beta [Learn more](/developers/api-guidelines/permissions#how-permissions-work)`ServiceProfile` + `List`Roles: Administrator User ObserverRetrieves a collection of all service profiles for your organization.Returned service profiles contain just the total count of associated services, so this is the short view.

Reference: https://docs.emnify.com/developers/api/service-profiles/service-profile-get

## Authentication

- `Authorization` header (bearer token, required) — An `auth_token` should be provided to authenticate a session. To obtain an `auth_token`, see the [`/api/v1/authenticate` **POST** request](/developers/api/authentication/authenticate).

## Response

### 200

Success

- `list of ApiV1ServiceProfileGetResponsesContentApplicationJsonSchemaItems`

## Errors

### 403 Forbidden Error

Your role doesn't include the permission this endpoint requires. Most endpoints return `error_code`, `error_token`, and `message`. Some return only `status_code` and `message`.

- `error_code` (integer, optional)
- `error_token` (string, optional)
- `status_code` (integer, optional)
- `message` (string, optional)

## Types

### ApiV1ServiceProfileGetResponsesContentApplicationJsonSchemaItems

- `id` (integer, optional)
- `name` (string, optional)
- `description` (string, optional)
- `used_count` (string, optional)
- `allowed_3g` (boolean, optional)
- `allowed_4g` (boolean, optional)
- `allowed_nb_iot` (boolean, optional)
- `allowed_nb_iot_geo` (boolean, optional)
- `apply_sms_quota` (boolean, optional)
- `apply_data_quota` (boolean, optional)
- `ip_firewall_rule_set` (ApiV1ServiceProfileGetResponsesContentApplicationJsonSchemaItemsIpFirewallRuleSet, optional)
- `dns_firewall_rule_set` (ApiV1ServiceProfileGetResponsesContentApplicationJsonSchemaItemsDnsFirewallRuleSet, optional)

### ApiV1ServiceProfileGetResponsesContentApplicationJsonSchemaItemsIpFirewallRuleSet

- `ip_firewall_profiles` (list of ApiV1ServiceProfileGetResponsesContentApplicationJsonSchemaItemsIpFirewallRuleSetIpFirewallProfilesItems, optional)
- `enforce` (boolean, optional)

### ApiV1ServiceProfileGetResponsesContentApplicationJsonSchemaItemsDnsFirewallRuleSet

- `dns_firewall_profiles` (list of ApiV1ServiceProfileGetResponsesContentApplicationJsonSchemaItemsDnsFirewallRuleSetDnsFirewallProfilesItems, optional)
- `enforce` (boolean, optional)
- `mode` (enum, optional)
  - Allowed values: `allowlist`, `blocklist`

### ApiV1ServiceProfileGetResponsesContentApplicationJsonSchemaItemsIpFirewallRuleSetIpFirewallProfilesItems

- `id` (integer, optional)
- `name` (string, optional)
- `added` (string, optional)

### ApiV1ServiceProfileGetResponsesContentApplicationJsonSchemaItemsDnsFirewallRuleSetDnsFirewallProfilesItems

- `id` (integer, optional)
- `name` (string, optional)
- `added` (string, optional)

## Examples

**Response**

```json
[
  {
    "id": 232,
    "name": "Smart meter",
    "description": "Data + SMS - 1G limit",
    "used_count": "2",
    "allowed_3g": true,
    "allowed_4g": false,
    "allowed_nb_iot": false,
    "allowed_nb_iot_geo": false,
    "apply_sms_quota": false,
    "apply_data_quota": false,
    "ip_firewall_rule_set": {
      "ip_firewall_profiles": [
        {
          "id": 43,
          "name": "Default Inbound Block",
          "added": "2026-04-09T11:12:45+00:00"
        }
      ],
      "enforce": true
    },
    "dns_firewall_rule_set": {
      "dns_firewall_profiles": [
        {
          "id": 10,
          "name": "Corporate DNS Policy",
          "added": "2026-07-07T08:15:00+00:00"
        }
      ],
      "enforce": true,
      "mode": "allowlist"
    }
  },
  {
    "id": 2,
    "name": "Arduino",
    "description": "Data - unlimited",
    "used_count": "7",
    "allowed_3g": true,
    "allowed_4g": true,
    "allowed_nb_iot": true,
    "apply_sms_quota": false,
    "apply_data_quota": false
  }
]
```

**SDK Code**

```python Service Profile List
import requests

url = "https://cdn.emnify.net/api/v1/service_profile"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Service Profile List
const url = 'https://cdn.emnify.net/api/v1/service_profile';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Service Profile List
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://cdn.emnify.net/api/v1/service_profile"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Service Profile List
require 'uri'
require 'net/http'

url = URI("https://cdn.emnify.net/api/v1/service_profile")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Service Profile List
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://cdn.emnify.net/api/v1/service_profile")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Service Profile List
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://cdn.emnify.net/api/v1/service_profile', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Service Profile List
using RestSharp;

var client = new RestClient("https://cdn.emnify.net/api/v1/service_profile");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Service Profile List
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://cdn.emnify.net/api/v1/service_profile")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```