Skip to content

Create an invite

POST
/api/v1/orgs/invites
curl --request POST \
--url https://api.pkgplease.com/api/v1/orgs/invites \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "email": "example" }'
Media typeapplication/json
object
email
required
string
Examplegenerated
{
"email": "example"
}

Invite created — token expires in 7 days

Media typeapplication/json
object
invite
object
token
string
Examplegenerated
{
"invite": {
"token": "example"
}
}

Missing or invalid email

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}