Skip to content
View as Markdown

GET Get Contact Prev/Next IDs​

GET
/subscribers/prev-next-ids

Get the previous and next contact IDs relative to a given contact ID within the current filter context. Returns up to 10 IDs in each direction. Useful for implementing prev/next navigation on a contact profile page.

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password

Type
API Key (header: Authorization)

Parameters​

Query Parameters

current_id*

The current contact ID to navigate from.

Type
integer
Required
filter_type*

Type of filtering applied to the contact list.

Type
string
Required
Valid values
"simple""advanced"
sort_type

Sort direction of the contact list.

Type
string
Valid values
"ASC""DESC"
Default
"DESC"
search

Search term applied to the contact list.

Type
string
tags[]

Tag IDs filter (simple mode).

Type
array
statuses[]

Status filter (simple mode).

Type
array
lists[]

List IDs filter (simple mode).

Type
array
advanced_filters

JSON-encoded advanced filter groups (advanced mode).

Type
string

Responses​

Previous and next contact IDs.

application/json
JSON
{
"navigation": {
"next": [
0
],
"prev": [
0
]
},
"has_next": true,
"has_prev": true
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI