1. Teams
Pibox public API
  • v1
    • Teams
      • Invite Member
        POST
      • Get File Statuses
        POST
      • Get Teams
        POST
    • Groups
      • Get Groups
      • Get Group Info
      • Create Group
    • Projects
      • Get Project Info
      • Create Project
      • Get Projects by Group
      • Get Non Group Projects
      • Get Chat History
      • Chat Message
    • Account
      • Get Account Info
    • Files
      • Find Files
      • Get File Info
      • Create Folder
      • Get Files by Folder
      • Get Folder URL
      • Update Folder Properties
      • Delete File
      • Upload from External Source
      • Generate Track Tags
      • File Upload
    • Tasks
      • Get Task Template
      • Load Tasks from Template
      • Get Tasks by Folder
      • Create Tasks
    • Webhooks
      • Create Webhook Endpoint
      • Get Webhook Endpoints
      • Delete Webhook Endpoint
  • Webhooks
    • file.uploaded
    • file.renamed
    • file.status_changed
    • task.closed
    • List webhook endpoints
      GET
    • Create a webhook endpoint
      POST
    • Delete a webhook endpoint
      DELETE
  • Schemas
    • v1
      • Team
      • Track Info
      • Video Info
      • Image Info
      • AI Tags
      • Empty Schema
    • FileStatus
    • Error
    • ListEnvelope
    • ObjectEnvelope
    • TokenResponse
    • ClientRegistration
    • AuthServerMetadata
  1. Teams

Invite Member

POST
https://api.pibox.com/v1/account/teams/invite_member
Invite a new user to a team with an explicit role. Targets team_id must belong to the caller's organization. Honors the team's disable_invite_for_members setting (admins/owners always pass). Universal handler — works for existing users (added immediately), new users (pending invite via email), and optionally adds to a project via chat_id.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Invitation queued
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠409
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.pibox.com/v1/account/teams/invite_member' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "team_id": 737,
    "email": "user@example.com",
    "role": "guest",
    "chat_id": 12345
}'
Response Response Example
200 - Success Example
{
    "object": "invitation",
    "team_id": 737,
    "email": "user@example.com",
    "role": "guest",
    "chat_id": null
}
Modified at 2026-06-09 10:03:31
Next
Get File Statuses
Built with