跳转到主要内容
POST
/
invitation
/
link
/
accept
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/invitation/link/accept \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "invitationCode": "<string>",
  "invitationId": "<string>"
}
'
{
  "spaceId": "<string>",
  "baseId": "<string>"
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
invitationCode
string
必填
invitationId
string
必填

响应

201 - application/json

Successful response, return the spaceId or baseId of the invitation link.

spaceId
string | null
必填
baseId
string | null
必填
Last modified on December 10, 2025