Skip to the page

Retrieve server settings

The settings of a server a team hosts itself: whether anybody may sign up, and what each workspace on it may use.

opensend.server.get()
Needs the scopeworkspace:readFrom a terminalopensend server get

This method takes no input.

Returns

The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.

  • object"server"

    Always server.

  • selfHostedboolean

    Whether a team hosts this server itself. false where the product is hosted for you, and nothing here can be changed there.

  • ownerboolean

    Whether the signed-in person asking owns the server. false for an API key.

  • signUpsstring

    open when anybody who reaches the address may make an account, closed when people come in by invitation only.

    One ofopenclosed

  • limitsobject[]

    What each workspace on the server may use, one entry for every limit that can be set. Empty where the product is hosted for you: a workspace takes its limits from its plan there.

  • limits[].idstring

    Which limit this is: transactional, marketing, contacts, domains or members.

  • limits[].limitinteger | null

    How much each workspace may use, or null where there is no limit.