> ## Documentation Index
> Fetch the complete documentation index at: https://usegately.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Settings

> Retrieve all project settings including email sender configuration, branding, and authentication options

Returns the combined settings for your project from both the `project_settings` and `projects` tables.

## Headers

<ParamField header="Authorization" type="string" required>
  `Bearer YOUR_API_KEY`
</ParamField>

## Response

<ResponseField name="sender_name" type="string">
  Display name shown in the From field of all outgoing emails
</ResponseField>

<ResponseField name="sender_email" type="string">
  Email address used as the From address for all emails
</ResponseField>

<ResponseField name="reply_to_email" type="string">
  Reply-To address. Defaults to `sender_email` if not set.
</ResponseField>

<ResponseField name="support_email" type="string">
  Support contact email shown in footer of transactional emails
</ResponseField>

<ResponseField name="primary_color" type="string">
  Brand hex color used in transactional email templates
</ResponseField>

<ResponseField name="logo_url" type="string">
  Logo URL shown in transactional email headers
</ResponseField>

<ResponseField name="allow_new_member_signup" type="boolean">
  Whether new members can self-register
</ResponseField>

<ResponseField name="session_duration_days" type="number">
  How long member sessions stay active
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.usegately.com/api/v1/settings" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```typescript SDK theme={null}
  const settings = await gately.settings.get()
  console.log(settings.sender_name, settings.sender_email)
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "data": {
      "name": "Magana",
      "sender_name": "Magana Team",
      "sender_email": "hello@magana.com",
      "reply_to_email": "support@magana.com",
      "support_email": "help@magana.com",
      "primary_color": "#FE551B",
      "logo_url": "https://cdn.magana.com/logo.png",
      "allow_new_member_signup": true,
      "session_duration_days": 30
    }
  }
  ```
</ResponseExample>
