List historical one-to-one DM channels for a user with cursor pagination. Requires USER_LIST_DM_CHANNELS permission.
curl --request POST \
--url https://api.fluxer.app/v1/admin/users/list-dm-channels \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_id": "<string>",
"before": "<string>",
"after": "<string>",
"limit": 100
}
'{
"channels": [
{
"channel_id": "<string>",
"channel_type": 1073741823,
"recipient_ids": [
"<string>"
],
"last_message_id": "<string>",
"is_open": true
}
]
}Admin API key: Authorization: Admin <token>. Only valid for /admin/* endpoints.
Success
200Show child attributes
curl --request POST \
--url https://api.fluxer.app/v1/admin/users/list-dm-channels \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_id": "<string>",
"before": "<string>",
"after": "<string>",
"limit": 100
}
'{
"channels": [
{
"channel_id": "<string>",
"channel_type": 1073741823,
"recipient_ids": [
"<string>"
],
"last_message_id": "<string>",
"is_open": true
}
]
}