v1

latestOpenAPI 3.0.02026-07-24622596.0 KB
Projects

Create a new project invitation for collaboration

post/projects/{project_id}/invitations

Path parameters

project_idstring id required

ID of the Project

Headers

X-CompanyCam-Userstring

Email of CompanyCam user to be designated as the inviter

Response

The invitation response

idstring

The unique ID of invitation

project_idstring

The unique ID of the project

invite_urlstring

The invite url to accept the invitation

status'accepted' | 'expired' | 'pending'

The status of the invitation. It will be one of accepted, expired, or pending

accepted_atinteger

Timestamp when the project invitation was accepted

accepted_by_idstring

The unique ID of the company who accepted the invitation

expires_atinteger

Timestamp when the project invitation expires

creator_idstring

The unique ID of the user who created the invitation

created_atinteger

Timestamp when the project invitation was created on the server

updated_atinteger

Timestamp when the project invitation was last updated

Example response

{
  "id": "48892885",
  "project_id": "48892885",
  "invite_url": "https://l.cmpy.cam/P8EfEmTSB4BbrKUgsd",
  "accepted_at": 1621857746,
  "accepted_by_id": "48892885",
  "expires_at": 1621857746,
  "creator_id": "48892885",
  "created_at": 1621857746,
  "updated_at": 1621857749
}