For the complete documentation index, see llms.txt. This page is also available as Markdown.

List company lists

List company lists

get

List all company lists

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Responses
200Success
application/json
idstringRead-onlyRequired
short_idstringRead-onlyRequired
namestring · max: 255Required
sourcestring · max: 255 · nullableOptional
num_optionsstringRead-onlyRequired
getv1/company/lists/
Python

import requests
response = requests.get(
    "https://journeys-api.50skills.app/v1/company/lists/",
)
print(response.json())
                    
[
  {
    "id": "jZzwxywD",
    "shortId": "jZzwxywD",
    "name": "List one",
    "source": "",
    "options": [
      {
        "shortId": "8OzY2y57",
        "value": "1",
        "label": "Item 1",
        "order": 0
      },
      {
        "shortId": "AOyeZGXP",
        "value": "2",
        "label": "Item 2",
        "order": 1
      }
    ],
    "numOptions": 2
  }
]

Request samples

import requests
response = requests.get(
    "https://journeys-api.50skills.app/v1/company/lists/",
)
print(response.json())                
fetch("https://journeys-api.50skills.app/v1/company/lists/")
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error("Fetch error:", error));                 

Response samples

Last updated