Get All Choice Lists

API Library Examples

from fulcrum import Fulcrum
fulcrum = Fulcrum('{token}')

choice_lists = fulcrum.choice_lists.search()

for choice_list in choice_lists['choice_lists']:
  # print(choice_list) # entire choice list
  print(choice_list['name']) # just the choice list name
const { Client } = require('fulcrum-app');
const client = new Client('{token}');

client.choiceLists.all()
  .then((page) => {
    page.objects.forEach(choiceList => {
      // console.log(choiceLists); // entire choice list
      console.log(choiceList.name); // just the choice list name
    });
  })
  .catch((error) => {
    console.log(error.message);
  });
require 'fulcrum'

client = Fulcrum::Client.new('{token}')

lists = client.choice_lists.all()

for list in lists.objects do
  # puts list # entire choice list definition
  puts list['name'] # just the choice list name
end
Language
Credentials
Header
Click Try It! to start a request and see the response here!