# Solana API documentation
## `realms-api` endpoints (https://realms-api.vercel.app/api/)
- [`createWithRealm`](#createWithRealm): create community with token and a realms multisig
- [`createWithRealmWithoutMint`](#createWithRealmWithoutMint): create community without token and with a realms multisig
***
### `createWithRealmWithoutMint`
#### Request format:
- **`name`**: name of the new community (string)
- **`yesVoteThreshold`**: percentage of yes votes required to pass a proposal. (number 0-100)
- **`councilMemberPks`**: inital stewards to be added as members to the realms multisig. (list of pks)
- **`walletPk`**: public key of the currently connected wallet. (must be in `councilMemberPks` list)
#### Response format:
- **`createRealmSerializedTxn`**: serialized txn that creates a realm (must be signed by `walletPk`)
- **`createCommunitySerializedTxn`** serialized txn that creates a community. (no need to sign)
- **`realmInfo`**: information about the realm.
- **`gasTankInfo`**: information about the gas tank.
#### Example request:
```json
{
"name": "Mango",
"yesVoteThreshold": 30,
"councilMemberPks":["HSnWTzTqmzjw7GwggEuJgnXmPRbFwftSSv6a7GUAYXWj","LHTsVjUDKH99XYNbvzRAEfrG836KY63sJnvHFvLuNfa"],
"walletPk": "HSnWTzTqmzjw7GwggEuJgnXmPRbFwftSSv6a7GUAYXWj"
}
```
***
###### tags: `Realms` `Solana`