Source: https://atomicwork-preview.docs-staging.pageloop.ai/api-reference/customobjects/getapi-v-1-custom-objects-by-id-id

# Get custom object details by numeric id

GET `https://{tenant}.atomicwork.com/api/v1/custom-objects/by-id/{id}`

Numeric-id counterpart of `getCustomObject`. The display-id form
`/custom-objects/\{displayId\}` (e.g. `/custom-objects/COB-001`) is the
canonical user-facing URL; this endpoint takes the internal numeric id
and is intended for callers that already hold the int64 id.

## Authorization

#### X-Api-Key (header, string, required)

## Headers

#### X-Workspace-Id (header, string)

## Path Parameters

#### id (path, integer, required)

Workspace ID (numeric). Find yours under Settings → Workspace.

## Response

#### 200

Successful response

#### Request

```bash cURL
curl -X GET 'https://{tenant}.atomicwork.com/api/v1/custom-objects/by-id/{id}' \
  -H 'X-Api-Key: <api-key>'
```

```javascript JavaScript
const res = await fetch('https://{tenant}.atomicwork.com/api/v1/custom-objects/by-id/{id}', {
  method: 'GET',
  headers: {
    'X-Api-Key': '<api-key>',
  },
});
const data = await res.json();
```

```python Python
import requests

res = requests.get(
    'https://{tenant}.atomicwork.com/api/v1/custom-objects/by-id/{id}',
    headers={'X-Api-Key': '<api-key>'}
)
data = res.json()
```
