Skip to main content
GET
/
site
/
{id}
Get site by ID
curl --request GET \
  --url https://api.truecold.io/site/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "code": "<string>",
  "name": "<string>",
  "city": "<string>",
  "country": "<string>",
  "state": "<string>",
  "street": "<string>",
  "soft_deleted": "2023-11-07T05:31:56Z",
  "soft_deleted_by": "<string>",
  "zip_code": "<string>",
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Contact your administrator to get an API key.

Path Parameters

id
string
required

Site ID

Response

Successfully retrieved site

Site entity (API response)

id
string<uuid>

Unique identifier

created_at
string<date-time>

Creation timestamp

updated_at
string<date-time>

Last update timestamp

code
string

code code

name
string

name name

city
string

City

country
string

Country

state
string

State

street
string

Street

soft_deleted
string<date-time>

Soft deletion timestamp

soft_deleted_by
string

User who soft deleted the record

zip_code
string

zip code

account_id
string<uuid>

Account ID