Skip to Content
Pouch
Admin organizations

Resend an invitation

POST
/v1/admin/organizations/{id}/invitations/{invitationId}/resend

Auth: Admin key.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

invitationId*string

An opaque, type-prefixed id.

Response Body

The invitation, with a fresh expiry. A new token is mailed and the old link stops working.

application/json
  1. response
id?string

Opaque id, prefixed inv_.

email?string

The invited address, normalized.

role?string

The role this invitation grants in the organization.

Value in"owner""member"
status?string

expired is a pending invitation past expires_at; the stored status is only ever the other three.

Value in"pending""accepted""revoked""expired"
invited_by?|

The account that sent it, or null once that account is gone.

expires_at?string

ISO 8601 timestamp the token stops working.

accepted_at?|

ISO 8601 timestamp it was redeemed, or null.

created_at?string

ISO 8601 timestamp.

Example Request
curl -X POST 'https://pouch.example.com/v1/admin/organizations/string/invitations/string/resend'
Example Response
{  "id": "string",  "email": "string",  "role": "owner",  "status": "pending",  "invited_by": "string",  "expires_at": "string",  "accepted_at": "string",  "created_at": "string"}