Invitations

Renew an invitation

Changed on

Rotates the accept token and extends the expiry by 7 days. The response includes the new token and acceptUrl.

post/invitations/{id}/renew

Request

  • Base URL: https://api.cavuno.com/v1
  • URL: https://api.cavuno.com/v1/invitations/{id}/renew
  • Auth: HTTP bearer

Path parameters

idstring required

The invitation ID.

Response

Successful response.

idstring required

Unique identifier for the invitation.

object'invitation' required

String representing the object's type.

emailstring required

The invited email address.

rolestring required

The role the invitee will receive on accept.

statusstring required

The invitation status: pending, expired, accepted, declined.

expiresAtstring required

ISO-8601 timestamp of when the invitation expires.

invitedByUserIdstring nullable required

Identifier of the user who created the invitation.

createdAtstring required

ISO-8601 timestamp of when the invitation was created.

tokenstring required

The opaque accept token.

acceptUrlstring required

The full URL a recipient uses to accept the invitation.

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status