Skip to main content
GET
/
api
/
customers
/
{id}
Get Customer
curl --request GET \
  --url https://app.sphinxhq.com/api/customers/{id}/ \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "external_id": "<string>",
  "full_name": "<string>",
  "customer_type": "INDIVIDUAL",
  "input_details": {},
  "delete_after": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "parent": 123
}

Authorizations

Authorization
string
header
required

OAuth2 access token obtained from POST /api/oauth/token/ using client credentials.

Path Parameters

id
integer
required

A unique integer value identifying this check customer.

Response

200 - application/json

Read-only serializer for Customer with computed fields.

id
integer
required
external_id
string | null
required

ID from the source system, for lookups.

full_name
string
required
customer_type
enum<string> | null
required
  • INDIVIDUAL - Individual
  • COMPANY - Company
Available options:
INDIVIDUAL,
COMPANY,
null
input_details
object
required

Flexible JSON for inputting customer fields such as first_name, address, etc. Any format accepted.

delete_after
integer
required

Days until deletion. -1 means never delete.

created_at
string<date-time>
required
updated_at
string<date-time>
required
parent
integer | null
required

Parent customer ID.