using the rest API how do i get the name of a cust...
# ask-stanley-ai
m
using the rest API how do i get the name of a custom list
c
AI generated answer (using internal Slack threads):
To get the name of a custom list using the REST API, you can use SuiteQL to query the "CustomList" table. Here is an example of how you can do this:
Copy code
SELECT * FROM CustomList
This will return all the custom lists in the account, including their script IDs, names, and other details. If you want to get a specific custom list, you can add a WHERE clause to the query. For example:
Copy code
SELECT * FROM CustomList WHERE scriptId = 'customlist_my_cool_list'
This will return the details of the custom list with the script ID 'customlist_my_cool_list'. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.809254229
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.806413591
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803225
Please provide your feedback on this answer.