v8

OpenAPI 3.1.02026-08-033623795.0 MB
Dm members

Retrieve dm member

Retrieves the details of an existing DM member.

Required permissions:

  • dms:read
get/dm_members/{id}

Path parameters

idstring required

The unique identifier of the DM channel member to retrieve.

Response

A successful response

channel_idstring required

The unique identifier of the messaging channel this membership belongs to.

idstring required

The unique identifier for the entity

last_viewed_atstring nullable required

The timestamp when this member last viewed the channel, as a Unix timestamp in milliseconds. Null if the member has never viewed the channel.

notification_preference'all' | 'mentions' | 'none' required

The notification preferences for a DMs feed member

status'requested' | 'accepted' | 'hidden' | 'closed' | 'archived' required

The statuses of a DMs feed member

user_idstring required

The unique identifier of the user who holds this channel membership.

Example response

{
  "last_viewed_at": "123.45"
}