Skip to main content
GET
/
customers
/
{customerId}
Get customer
curl --request GET \
  --url https://api.natural.co/customers/{customerId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "pty_4a8c9823f39c42a5b817556766551112",
    "type": "customer",
    "attributes": {
      "name": "Acme Co",
      "email": "ops@acme.com",
      "createdAt": "2026-01-04T15:30:00.000Z"
    },
    "relationships": {
      "delegation": {
        "data": {
          "type": "delegation",
          "id": "dlg_550e8400e29b41d4a716446655440000",
          "attributes": {
            "status": "ACTIVE",
            "permissions": [
              "payments.read"
            ],
            "createdAt": "2026-01-10T12:00:00.000Z"
          }
        }
      },
      "agents": {
        "data": [
          {
            "type": "agent",
            "id": "agt_3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
            "attributes": {
              "name": "Invoice Agent",
              "status": "ACTIVE",
              "permissions": [
                "payments.read"
              ],
              "limits": {
                "perTransaction": 100000
              }
            }
          }
        ]
      }
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.natural.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Agent-ID
string | null

Agent ID (agt_xxx) identifying which agent is making the request.

X-Instance-ID
string | null

Required when X-Agent-ID is present. Session or conversation ID for agent observability.

Maximum string length: 1024

Path Parameters

customerId
string
required

Customer party ID

Pattern: ^pty_[0-9a-f]{32}$

Response

Successful Response

data
CustomerActiveResource · object
required

Customer resource for an active customer (type='customer', id=pty_xxx).