Invitations
List the invitations to the project
project_id*stringProject ID
search?stringSearch term matched against the invitee email
page?integerPage number
limit?integerPage size (default 25, at most 100)
sort?stringSort order
OK
application/json- response
data?array<>List of invitations
object?stringThe object type
pagination?Pagination information
curl -X GET 'https://api.pontive.com/v1/projects/string/invitations'{ "data": [ { "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "id": "string", "invited_by": "string", "invitee_email": "string", "last_sent_at": "2019-08-24T14:15:22Z", "message": "string", "object": "string", "project": { "id": "string", "name": "string" }, "project_roles": [ "string" ], "resend_count": 0, "roles": [ "string" ] } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Invite people to the project by email. Invitees who are not workspace members join the workspace too, with no role there.
project_id*stringProject ID
Invite Project Members Request
application/json- body
Invite Project Members Request
emails?array<string>The email addresses to invite required: true
message?stringAn optional message included in the invitation email
roles?array<string>The roles the invitees will hold on the project once they accept. They join the project's workspace too, with no role there. required: true enum: admin,developer,viewer
Created
application/json- response
data?array<>The invitations sent: new ones, and live ones an address already held, reissued with this request's roles and a new link (resend_count > 0)
object?stringThe object type
skipped?array<>The addresses that got no invitation, and why. Skipping is not an error: a request whose every address was skipped still succeeds.
curl -X POST 'https://api.pontive.com/v1/projects/string/invitations' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": [ { "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "id": "string", "invited_by": "string", "invitee_email": "string", "last_sent_at": "2019-08-24T14:15:22Z", "message": "string", "object": "string", "project": { "id": "string", "name": "string" }, "project_roles": [ "string" ], "resend_count": 0, "roles": [ "string" ] } ], "object": "string", "skipped": [ { "email": "string", "reason": "already_member" } ]}Withdraw one of the project's invitations: it is deleted, and its link stops working.
project_id*stringProject ID
invitation_id*stringInvitation ID
notify_invitee?booleanNotify the invitee that the invitation was withdrawn
No Content
curl -X DELETE 'https://api.pontive.com/v1/projects/string/invitations/string'Send one of the project's outstanding invitations again
project_id*stringProject ID
invitation_id*stringInvitation ID
Resend Project Invitation Request
application/json- body
Resend Project Invitation Request
message?stringAn optional message replacing the original (resend)
OK
application/json- response
created_at?stringThe time when the invitation was created
date-timeexpires_at?stringThe time when the invitation expires
date-timeid?stringThe unique identifier of the invitation
invited_by?stringThe user who sent the invitation
invitee_email?stringThe email address the invitation was sent to
last_sent_at?stringThe time when the invitation was last sent
date-timemessage?stringThe message included with the invitation
object?stringThe object type
project?For an invitation to a project, the project; absent on one to the workspace alone.
project_roles?array<string>For an invitation to a project, the roles the invitee will hold on it. The invitee joins the workspace too, with no role there unless Roles names one. enum: admin,developer,viewer
resend_count?integerHow many times the invitation has been resent
roles?array<string>The roles the invitee will hold on the workspace once they accept enum: admin,billing,developer
curl -X POST 'https://api.pontive.com/v1/projects/string/invitations/string/resend' \ -H 'Content-Type: application/json' \ -d '{}'{ "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "id": "string", "invited_by": "string", "invitee_email": "string", "last_sent_at": "2019-08-24T14:15:22Z", "message": "string", "object": "string", "project": { "id": "string", "name": "string" }, "project_roles": [ "string" ], "resend_count": 0, "roles": [ "string" ]}Get a list of the workspace's invitations
workspace_id*stringWorkspace ID
search?stringSearch term matched against the invitee email
page?integerPage number
limit?integerPage size (default 25, at most 100)
sort?stringSort order
OK
application/json- response
data?array<>List of invitations
object?stringThe object type
pagination?Pagination information
curl -X GET 'https://api.pontive.com/v1/workspaces/string/invitations'{ "data": [ { "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "id": "string", "invited_by": "string", "invitee_email": "string", "last_sent_at": "2019-08-24T14:15:22Z", "message": "string", "object": "string", "project": { "id": "string", "name": "string" }, "project_roles": [ "string" ], "resend_count": 0, "roles": [ "string" ] } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Invite people to the workspace by email
workspace_id*stringWorkspace ID
Invite Members Request
application/json- body
Invite Members Request
emails?array<string>The email addresses to invite required: true
message?stringAn optional message included in the invitation email
roles?array<string>The roles the invitees will hold once they accept. owner cannot be
granted by invitation — ownership moves through transfer-ownership.
enum: admin,billing,developer
Created
application/json- response
data?array<>The invitations sent: new ones, and live ones an address already held, reissued with this request's roles and a new link (resend_count > 0)
object?stringThe object type
skipped?array<>The addresses that got no invitation, and why. Skipping is not an error: a request whose every address was skipped still succeeds.
curl -X POST 'https://api.pontive.com/v1/workspaces/string/invitations' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": [ { "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "id": "string", "invited_by": "string", "invitee_email": "string", "last_sent_at": "2019-08-24T14:15:22Z", "message": "string", "object": "string", "project": { "id": "string", "name": "string" }, "project_roles": [ "string" ], "resend_count": 0, "roles": [ "string" ] } ], "object": "string", "skipped": [ { "email": "string", "reason": "already_member" } ]}Withdraw an invitation: it is deleted, and its link stops working. An invitation exists only while it is open — accepting one deletes it too, and an expired one is purged.
workspace_id*stringWorkspace ID
invitation_id*stringInvitation ID
notify_invitee?booleanNotify the invitee that the invitation was withdrawn
No Content
curl -X DELETE 'https://api.pontive.com/v1/workspaces/string/invitations/string'Send an outstanding invitation again
workspace_id*stringWorkspace ID
invitation_id*stringInvitation ID
Resend Invitation Request
application/json- body
Resend Invitation Request
message?stringAn optional message replacing the original
OK
application/json- response
created_at?stringThe time when the invitation was created
date-timeexpires_at?stringThe time when the invitation expires
date-timeid?stringThe unique identifier of the invitation
invited_by?stringThe user who sent the invitation
invitee_email?stringThe email address the invitation was sent to
last_sent_at?stringThe time when the invitation was last sent
date-timemessage?stringThe message included with the invitation
object?stringThe object type
project?For an invitation to a project, the project; absent on one to the workspace alone.
project_roles?array<string>For an invitation to a project, the roles the invitee will hold on it. The invitee joins the workspace too, with no role there unless Roles names one. enum: admin,developer,viewer
resend_count?integerHow many times the invitation has been resent
roles?array<string>The roles the invitee will hold on the workspace once they accept enum: admin,billing,developer
curl -X POST 'https://api.pontive.com/v1/workspaces/string/invitations/string/resend' \ -H 'Content-Type: application/json' \ -d '{}'{ "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "id": "string", "invited_by": "string", "invitee_email": "string", "last_sent_at": "2019-08-24T14:15:22Z", "message": "string", "object": "string", "project": { "id": "string", "name": "string" }, "project_roles": [ "string" ], "resend_count": 0, "roles": [ "string" ]}