Skip to main content

List the identities linked on a chat channel.

GET/api/v1/chat-channels/{chat_channel_id}/identitieschat_channels:read

The people who linked their LINE account on the channel: their Docwize user, when they linked, when they last wrote and whether the channel can reach them.

Scopechat_channels:read (sensitive)
AsynchronousNo
MCP toollist_chat_channel_identities
Portal permissionsview_chat_channel_identities
Pagingkeyset
Default orderchat_identity_id
Sort fieldschat_identity_id

Parameters​

NameInTypeRequiredDescription
chat_channel_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of ChatIdentityRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ChatIdentity​

FieldTypeRequiredDescription
chat_identity_idstringRequired
is_friendboolean or nullRequiredWhether the person is a friend of the channel's LINE account: an applicant channel reaches only friends. Null until the channel knows.
is_user_activebooleanRequiredFalse when the linked user is deactivated or deleted: nobody to message, and workflows never message them.
last_inbound_atstring (date-time) or nullRequired
line_display_namestring or nullRequired
linked_atstring (date-time) or nullRequired
reachabilitystringRequiredreachable, blocked or unknown (open).
userUserRef or nullRequired
user_emailstring or nullRequiredThe linked Docwize user's email.

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired