Skip to main content
GET
/
api
/
org-lists
/
{listType}
/
entries
List org-list entries for a given list type
curl --request GET \
  --url https://app.solya.app/api/org-lists/{listType}/entries \
  --header 'Authorization: Bearer <token>'
[
  {
    "createdAt": "2026-01-10T08:00:00.000Z",
    "id": "entry-uuid-1",
    "listType": "RETURN_REASON_CODE",
    "metadata": {
      "note": "Product arrived damaged"
    },
    "updatedAt": null,
    "value": "DAMAGED"
  },
  {
    "createdAt": "2026-02-01T09:00:00.000Z",
    "id": "entry-uuid-2",
    "listType": "RETURN_REASON_CODE",
    "metadata": null,
    "updatedAt": "2026-03-15T14:00:00.000Z",
    "value": "WRONG_ITEM"
  }
]

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Path Parameters

listType
enum<string>
required

List type: SUPPLIER_BLACKLIST | BRAND_RESTRICTION | RETURN_REASON_CODE

Available options:
SUPPLIER_BLACKLIST,
BRAND_RESTRICTION,
RETURN_REASON_CODE

Response

Successful response

data
object[]
required
success
enum<boolean>
required
Available options:
true