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

# Set the sending identity

> Sets the sending domain and from address, then provisions the sending side. Admin only, because the sending domain is the account's outbound reputation.



## OpenAPI

````yaml /api-reference/endpoint/accounts/openapi.json post /accounts/sender-identity
openapi: 3.0.3
info:
  title: quiva.ai Accounts API
  description: >-
    API for managing accounts, users, authentication, and payments in the
    quiva.ai platform
  version: 1.0.0
  contact:
    name: quiva.ai Support
    url: https://app.quiva.ai
servers:
  - url: https://api.quiva.ai
    description: Production API server
security:
  - bearerAuth: []
  - apiKeyAuth: []
tags:
  - name: Account Management
    description: Operations related to account creation, updating, and deletion
  - name: User Management
    description: Operations related to user creation, updating, and deletion
  - name: Authentication
    description: Operations related to authentication and session management
  - name: API Keys
    description: Operations related to API key management
  - name: Multi-Factor Authentication
    description: Operations related to MFA setup and verification
  - name: Payment
    description: Operations related to subscription and payment management
  - name: Mesh Nodes
    description: Operations related to mesh node management
  - name: Integrations
    description: Machine identities and client credentials for task sync
  - name: Task Subscriptions
    description: Webhook subscriptions that push task events to your endpoint
  - name: Email Templates
    description: Account email templates used by flows, Abbie and the client sign-in email
  - name: Branding
    description: Sign-in branding and account images
  - name: Client Access
    description: Passwordless sign-in and invitations for client users
  - name: Sync Packages
    description: Install, upgrade and remove sync packages for an account
  - name: Terms
    description: Terms documents, provider terms and the acceptance log
  - name: Email Sending
    description: Sending identity and outbound email
  - name: Usage and Billing
    description: Cost events, billing events, credit budget and spend guard
  - name: Notifications
    description: In-app notifications for the signed-in user
  - name: Resource Access
    description: Per-user grants on resources such as spaces
  - name: Document Branding
    description: Account theme and logo used on generated documents
paths:
  /accounts/sender-identity:
    post:
      tags:
        - Email Sending
      summary: Set the sending identity
      description: >-
        Sets the sending domain and from address, then provisions the sending
        side. Admin only, because the sending domain is the account's outbound
        reputation.
      operationId: setSenderIdentity
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                domain:
                  type: string
                  description: Sending domain
                from_address:
                  type: string
                  description: From address
                display_name:
                  type: string
                  description: Display name
                reply_to:
                  type: string
                  description: Reply-to address
                failure_task_space_id:
                  type: string
                  description: Space where a failed email raises a task
                track_engagement:
                  type: boolean
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    description: >-
                      Sending identity: domain, from_address, display_name,
                      reply_to, DNS records and verification state
                    additionalProperties: true
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Caller is not an admin or root
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.