---
search:
  tags:
    - Delegate Endpoints
    - POST
seo:
  description: >-
    为 cookie 所属账号接受待处理邀请。可传邀请查询接口返回的… Reference for the POST
    /twitter/delegate/accept endpoint in the TwexAPI REST API 规范参考 API.
sidebar:
  badge: POST
  label: 接受委托邀请
title: 接受委托邀请
type: openapi-operation
---
为 cookie 所属账号接受待处理邀请。可传邀请查询接口返回的 membership_id，或邀请方账号的 username。非空 membership_id 优先，找不到该 ID 时不会回退到 username。两者都不填时，仅在恰有一条待处理邀请时自动接受。无邀请、未匹配或多条邀请但未指定选择条件时，当前实现返回 HTTP 500。成功返回选中的邀请信息。需要 TwexAPI Bearer API Key 和接收邀请账号的有效 X 凭据。

<Operation source="zh-api-reference" id="delegate-accept" />
