Skip to main content
GET
/
api
/
v1
/
public
/
companies
List Workspace Companies
curl --request GET \
  --url https://api.sanka.com/api/v1/public/companies \
  --header 'Authorization: Bearer <token>'
[
  {
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "company_id": 123,
    "name": "<string>",
    "address": "<string>",
    "email": "<string>",
    "phone_number": "<string>",
    "url": "<string>",
    "allowed_in_store": true
  }
]

Authorizations

Authorization
string
header
required

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

Headers

Accept-Language
string | null

Query Parameters

workspace_id
string | null
lang
string | null
language
string | null

Response

200 - application/json

OK

created_at
string<date-time>
required
updated_at
string<date-time>
required
id
string | null
company_id
integer | null
name
string | null
address
string | null
email
string | null
phone_number
string | null
url
string | null
allowed_in_store
boolean | null