一键导入
project-invitation
Manage project sharing invitations in Spuree — list, accept, decline, cancel, and resend invitations for non-workspace members
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage project sharing invitations in Spuree — list, accept, decline, cancel, and resend invitations for non-workspace members
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | project-invitation |
| description | Manage project sharing invitations in Spuree — list, accept, decline, cancel, and resend invitations for non-workspace members |
When sharing a project with a user who is not a workspace member, Spuree creates a pending invitation instead of adding them directly. This skill manages those invitations.
Direct sharing (target is already a workspace member) is handled immediately by
POST /v1/projects/{projectId}/sharein the project-management skill — no invitation is created.
Use this skill when an agent needs to:
Authorization: Bearer $SPUREE_ACCESS_TOKEN
Or: X-API-Key: $SPUREE_API_KEY. See the authentication skill.
https://data.spuree.com/api/v1/projects
{
"id": "64a7b8c9d1e2f3a4b5c6d7e8",
"projectId": "64a7b8c9d1e2f3a4b5c6d7e9",
"projectName": "My Animation Project",
"workspaceId": "64a7b8c9d1e2f3a4b5c6d7f0",
"invitedEmail": "new-user@example.com",
"invitedBy": "owner@example.com",
"status": "pending",
"createdAt": "2024-01-15T10:00:00Z",
"expiresAt": "2024-01-22T10:00:00Z"
}
| Field | Type | Description |
|---|---|---|
id | string | Invitation ObjectId |
projectId | string | Project ObjectId |
projectName | string? | Project name |
workspaceId | string | Workspace ObjectId |
invitedEmail | string | Invited user's email |
invitedBy | string | Inviter's email |
status | string | pending, accepted, declined, expired |
createdAt | datetime | Creation timestamp |
expiresAt | datetime | Expiration (7 days after creation or last resend) |
List pending invitations for the current user.
Response: { "invitations": [ InvitationObject, ... ] }
curl "https://data.spuree.com/api/v1/projects/invitations/pending" \
-H "Authorization: Bearer $SPUREE_ACCESS_TOKEN"
Accept an invitation. The user is added to the project's sharedWith list and automatically joined to the workspace if not already a member.
Response:
{
"messageCode": "success",
"projectId": "...",
"projectName": "My Animation Project",
"workspaceId": "..."
}
| Code | Description |
|---|---|
| 200 | Accepted — user added to project and workspace |
| 403 | Token does not belong to the authenticated user |
| 404 | Invitation not found or expired |
curl -X POST "https://data.spuree.com/api/v1/projects/invitations/{token}/accept" \
-H "Authorization: Bearer $SPUREE_ACCESS_TOKEN"
Decline an invitation.
Response: { "messageCode": "success", "projectId": "..." }
curl -X POST "https://data.spuree.com/api/v1/projects/invitations/{token}/decline" \
-H "Authorization: Bearer $SPUREE_ACCESS_TOKEN"
List all invitations for a project (all statuses).
Authorization: Owner or shared user.
Response: { "invitations": [ InvitationObject, ... ] }
curl "https://data.spuree.com/api/v1/projects/{projectId}/invitations" \
-H "Authorization: Bearer $SPUREE_ACCESS_TOKEN"
Cancel a pending invitation.
Authorization: Project owner or original inviter.
Response: { "messageCode": "success", "projectId": "..." }
curl -X DELETE "https://data.spuree.com/api/v1/projects/{projectId}/invitations/{invitationId}" \
-H "Authorization: Bearer $SPUREE_ACCESS_TOKEN"
Resend an invitation — resets expiry to 7 days from now.
Authorization: Owner or shared user.
Response: { "messageCode": "success", "projectId": "..." }
curl -X POST "https://data.spuree.com/api/v1/projects/{projectId}/invitations/{invitationId}/resend" \
-H "Authorization: Bearer $SPUREE_ACCESS_TOKEN"
POST /v1/projects/{id}/share { "email": "new-user@example.com" }
→ { type: "invitation", projectId: "..." }
GET /v1/projects/invitations/pending
POST /v1/projects/invitations/{token}/accept
| Code | Description |
|---|---|
| 200 | Success |
| 400 | Invalid token or ID format |
| 401 | Invalid or expired auth token |
| 403 | Not authorized (wrong user, not owner/inviter) |
| 404 | Invitation not found, expired, or already actioned |
| 409 | Invitation already pending for this user |
| 500 | Internal server error |
Guides people through using Spuree for the first time. Always use this skill when the user asks how to use Spuree skills or tools, what Spuree can do, which Spuree capabilities are available, for Spuree help or a tutorial, or to get started with Spuree. Explains the public capability set, confirms the connection with a safe read-only first step, and offers a guided walkthrough without searching the user's workspace files for documentation.
List recent folders across projects; create, update, delete, and browse folders (sessions), including assets, files, and batch downloads
Search, get, create, upload (single & multipart), update, and delete files in Spuree projects with checksum-verified upload flow
Create, list, update, delete, and share projects in Spuree, including browsing project contents
Obtain and refresh JWT access tokens, and manage API keys for the Spuree V1 API