Skip to main content
GET
/
user-data
/
getPendingInvites
Get Pending Invites
curl --request GET \
  --url https://www.api.baselink.tech/user-data/getPendingInvites \
  --header 'bearer: <api-key>'
{
  "invites": [
    {}
  ],
  "invites[].id": "<string>",
  "invites[].type": "<string>",
  "invites[].inviterEmail": "<string>",
  "invites[].inviterName": "<string>",
  "invites[].entityName": "<string>",
  "invites[].entityId": "<string>",
  "invites[].role": "<string>",
  "invites[].createdAt": "<string>",
  "invites[].expiresAt": "<string>"
}
Retrieve all pending invitations for the current user.
invites
array
Array of pending invitation objects.
invites[].id
string
The unique identifier of the invitation.
invites[].type
string
The type of invitation (team, company, repository).
invites[].inviterEmail
string
The email of the user who sent the invitation.
invites[].inviterName
string
The name of the user who sent the invitation.
invites[].entityName
string
The name of the team, company, or repository being invited to.
invites[].entityId
string
The ID of the team, company, or repository.
invites[].role
string
The role being offered in the invitation.
invites[].createdAt
string
The creation timestamp of the invitation.
invites[].expiresAt
string
The expiration timestamp of the invitation.