Skip to content

Get a customer

Returns a customer with the reference, the email address and the name.

GET /v1/customers/{customer}

Use cases

  • Read the email address of the customer who owns a license, to send the customer a message.
  • Check that a customer ID that your backend stored still exists.
  • Read the reference of a customer, to find the user in your own system.

Authentication

Send an API key. This endpoint requires the scope customers:read. See Authentication and Scopes.

Customers belong to your account, not to one product. An integration that is limited to one product can get every customer. See Product.

Request

Path parameters

ParameterTypeDescription
customerstringThe ID of the customer.

Headers

HeaderRequiredDescription
AuthorizationYesThe word Bearer, a space and the API key.

Response

The answer has the status 200.

FieldTypeDescription
idstringThe ID of the customer.
external_refstringThe ID of the customer in your own system. See References.
emailstring or nullThe email address of the customer.
first_namestring or nullThe first name of the customer.
last_namestring or nullThe last name of the customer.
created_atstringThe time when the customer was created.
updated_atstringThe time when the customer was last changed.

Errors

StatusReasonDescription
401An API key is required.The request has no Authorization header, the header is empty, or the header does not use the Bearer scheme.
401The API key is not valid.No integration has this key.
401The API key has expired.The expiry date of the key has passed.
403This integration does not have the customers:read scope.The integration has neither customers:read nor customers:write.
404The customer was not found.No customer in your account has this ID.
429There are too many requests. Try again later.See Rate limits.

See Errors.

Example

curl https://api.seatify.dev/v1/customers/$CUSTOMER_ID \
  -H "Authorization: Bearer $SEATIFY_API_KEY"

The answer:

{
  "id": "<customer id>",
  "external_ref": "usr_000001",
  "email": "anders.petrenko0@brightwater.example",
  "first_name": "Anders",
  "last_name": "Petrenko",
  "created_at": "2025-03-18T23:00:00Z",
  "updated_at": "2025-03-18T23:00:00Z"
}