Exclusion Lists
Get exclusion list
Changed onRetrieve an exclusion list by id, including its size and items.
get/v2/exclusion-lists/{list_id}
Request
- Base URLhttps://api.ocean.io
- URLhttps://api.ocean.io/v2/exclusion-lists/{list_id}
- Authnone declared
Path parameters
list_idstring required
Query parameters
apiTokenstring nullable
Headers
x-api-tokenstring nullable
Response
Successful Response
Example response
{
"listId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"type": "companies",
"name": "Target accounts",
"createdAt": "2026-09-23 08:00:00",
"itemCount": 42,
"items": [
"ocean.io",
"stripe.com"
]
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info