BranchesList the company's industries

List the company's industries

Returns the industry branches that the company's published references belong to, with a reference count per branch. lft/rgt are nested-set bounds: branch B is a descendant of branch A when A.lft < B.lft and B.rgt < A.rgt — use them to rebuild the tree client-side.

curl -X GET "https://referenzen.com/api/v1/branches/branches?lang_ID=2" \
  -H "Content-Type: application/json"
[
  {
    "branch_ID": 123,
    "branchname": "John Doe",
    "lft": 42,
    "rgt": 42,
    "referencecount": 10
  }
]
GET
/branches/branches
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (query: apiKey)
apiKeystring
Required

Your API key (workspace → avatar menu → Settings → API). Scopes all requests to your company.

Your API key (workspace → avatar menu → Settings → API). Scopes all requests to your company.
query
lang_IDinteger

Content language: 1 = English, 2 = German. Invalid values fall back to the key owner's default language.

Options: 1, 2
Request Preview
Response

Response will appear here after sending the request

Authentication

query
apiKeystring
Required

API Key for authentication. Your API key (workspace → avatar menu → Settings → API). Scopes all requests to your company.

Query Parameters

lang_IDinteger

Content language: 1 = English, 2 = German. Invalid values fall back to the key owner's default language.

Allowed values:12

Responses

branch_IDinteger
branchnamestring
lftinteger

Nested-set left bound.

rgtinteger

Nested-set right bound.

referencecountinteger