メインコンテンツまでスキップ

Invite an external user to link LINE on a channel.

POST/api/v1/chat-channels/{chat_channel_id}/invitechat_channels:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Makes a one-time LINE link for an external user (an applicant) of an external_customer channel: opening it types link <code> into the channel's chat. The answer holds a live pairing code, so the link is shown once and cannot be read back; it expires (expires_at). Needs Create Chat Channel Invites.

スコープchat_channels:write (機密性の高いスコープ)
非同期いいえ
MCP ツールinvite_chat_channel
Portal の権限create_chat_channel_invites

パラメーター​

名前場所型必須説明
chat_channel_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonChatInviteRequestInput

応答​

ステータス説明本文
200Success.application/json ChatInvite または object
400invalid_version, malformed_jsonapplication/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
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

ChatInvite​

フィールド型必須説明
commandstring必須The message that links the account: link followed by the live pairing code.
expires_atstring (date-time)必須
invite_urlstring必須A LINE link that opens the channel's chat with the link command typed. Send it to the person: whoever holds it can link a LINE account to them until it is used or expires.

ChatInviteRequestInput​

フィールド型必須説明
user_idstring必須The external user (an applicant) to invite: a user of the organisation that is not staff.