Snag Docs logo

Create website

Creates a new website. adminWalletAddress can only be used when authenticating with an organization API key.

POSThttps://admin.snagsolutions.io/api/websites

Creates a new website. adminWalletAddress can only be used when authenticating with an organization API key.

Loading code example
Loading code example

Authorizations

apiKeyAuthstringheaderrequired

API key passed in the header.

Body

Body

organizationIdstring<uuid>

Organization ID for which this website is being created

Length: >= 1
adminWalletAddressarray<string>

Optional admin wallet addresses to grant admin access on creation (organization API key only). Maximum 2.

Required array length: <= 2 elements
namestringrequired

Name of the website

twitterUsernamestring

Twitter username of the website account

discordUrlstring

Discord URL of the website account

telegramUrlstring

Telegram URL of the website account

instagramUsernamestring

Instagram username of the website account

homeUrlstring

Home URL of the official website

Response

application/json

200

idstring<uuid>required

Website ID

namestringrequired

Website name