메인 콘텐츠로 건너뛰기
GET
/
v1
/
invites
curl --request GET \
  --url https://api.caret.so/v1/invites?limit=20&offset=0 \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "inv_123",
      "email": "user@example.com",
      "code": "abc123xy",
      "role": "member",
      "expiresAt": "2026-02-27T10:00:00Z",
      "createdAt": "2026-01-28T10:00:00Z",
      "isUrlInvite": false,
      "folders": [
        {
          "id": "fol_456",
          "name": "Marketing"
        }
      ]
    }
  ],
  "pagination": {
    "limit": 20,
    "offset": 0,
    "total": 1
  }
}

쿼리 파라미터

limit
number
기본값:"20"
반환할 항목 수.
offset
number
기본값:"0"
결과 수집을 시작하기 전에 건너뛸 항목 수.

응답

items
Invite[]
pagination
object
limit
number
반환된 항목 수.
offset
number
건너뛴 항목 수.
total
number
사용 가능한 전체 항목 수.
curl --request GET \
  --url https://api.caret.so/v1/invites?limit=20&offset=0 \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "inv_123",
      "email": "user@example.com",
      "code": "abc123xy",
      "role": "member",
      "expiresAt": "2026-02-27T10:00:00Z",
      "createdAt": "2026-01-28T10:00:00Z",
      "isUrlInvite": false,
      "folders": [
        {
          "id": "fol_456",
          "name": "Marketing"
        }
      ]
    }
  ],
  "pagination": {
    "limit": 20,
    "offset": 0,
    "total": 1
  }
}