Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions specs/contacts.openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1230,12 +1230,24 @@ paths:
summary: Get all Contact Lists
tags:
- Contact Lists
parameters:
- schema:
type: string
example: news
in: query
name: search
required: false
description: Filter contact lists by name (case-insensitive prefix match).
x-codeSamples:
- lang: shell
label: 'cURL'
source: |
curl -X GET https://mailtrap.io/api/contacts/lists \
-H 'Authorization: Bearer YOUR_API_TOKEN'
Comment thread
Rabsztok marked this conversation as resolved.

# Filter lists by name (case-insensitive prefix match)
curl -X GET 'https://mailtrap.io/api/contacts/lists?search=news' \
-H 'Authorization: Bearer YOUR_API_TOKEN'
- lang: javascript
label: Node.js
source: |
Expand Down
Loading