---
source_url: https://www.pubnub.com/docs/admin-api/get-customer-by-id
title: Get customer by ID
---

# Get customer by ID

> For AI agents: documentation index at https://www.pubnub.com/llms-full.txt

Retrieves detailed information about a specific OEM customer, including all their assigned keysets.

## Request

Example

```
{
  "result": {
    "id": "string",
    "externalId": "string",
    "name": "string",
    "created": "string",
    "updated": "string",
    "keysets": [
      {
        "id": 0,
        "assignedAt": "string"
      }
    ]
  }
}
```

Example

```
{
  "statusCode": 0,
  "error": "BadRequest",
  "message": [
    "string"
  ]
}
```

Example

```
{
  "statusCode": 0,
  "error": "Unauthorized",
  "message": [
    "string"
  ]
}
```

Example

```
{
  "statusCode": 0,
  "error": "Forbidden",
  "message": [
    "string"
  ]
}
```

Example

```
{
  "statusCode": 0,
  "error": "NotFound",
  "message": [
    "string"
  ]
}
```

Example

```
{
  "statusCode": 0,
  "error": "InternalError",
  "message": [
    "string"
  ]
}
```
