Send an invitation again
POST
/api/v1/invitations/{id}/resend
const url = 'http://localhost:3000/api/v1/invitations/example/resend';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3000/api/v1/invitations/example/resend \ --header 'Authorization: Bearer <token>'A new link and a new week; the old link stops working. Emailed when the organization can send email. The url is in this response only.
Any caller; the scope needed is checked on what it acts on.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Invitation id
Responses
Section titled “Responses”The invitation, with its new link
Media typeapplication/json
object
data
required
object
id
required
string format: uuid
email
required
string
resource
required
string
resourceId
required
string format: uuid
label
required
string | null
scope
required
string
invitedBy
required
string
expiresAt
required
string format: date-time
createdAt
required
string format: date-time
url
required
Emailed to them when the organization can send email; send it yourself otherwise
string format: uri
emailed
required
boolean
Example
{ "data": { "resource": "organization", "scope": "read" }}default
Section titled “default”An error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}