Skip to main content

Get User Lists

Get the list of user lists.

GET/v1/user/lists

Properties

NameTypeRequiredDescription
table_idstringID of the table the list belongs to
filter_typestringFilter between lists of specific type: prompt, image, automation, snippet, table, all
ownershipstringChoose between 'created' to get only the ones you created or 'all' to get those and the ones you saved as well

Example

/v1/user/lists?filter_type=list&table_id=your-table-id

CURL Example

curl -X GET "https://api-integrations.snackprompt.com/v1/user/lists?filter_type=list&table_id=your-table-id" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY"