SET VANITY URL

The API sets the vanity URL for a space.

URL

https://us-central1-ohyay-prod-d7acf.cloudfunctions.net/ohyayapi/set-vanity-url

Request Format

interface SetVanityUrlRequest {
  userId: string;
  wsid: string;
  urlPath: string; // The part after ohyay.co/s/
}

Response Format

interface SetVanityUrlResponse {
  error?: 'NO_URL' | 'URL_ALREADY_IN_USE';
}

Did this page help you?