CREATE INVITES

URL

https://us-central1-ohyay-prod-d7acf.cloudfunctions.net/ohyayapi/create-invites

Request Format

interface InviteRequest {
  userId: string;
  wsid: string;
  invites: {
    to?: string;         // Email, optional
    validFrom?: number;  // epoch millis, optional
    validUntil?: number; // epoch millis, optional
  }[];
}

Response Format

interface InviteResposne {
  links: string[];
}

Did this page help you?