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

# domain.plan

> Run domain.plan in the authenticated outbound workspace.

Required scopes: `domain:write`. Approval category: **edit**.

Send a JSON object with an `input` property and a UUID `Idempotency-Key` header. Use the same key and exact body when retrying one operation. The fields below come from the same schema as the running API and MCP tools.

Read [approvals and credits](https://docs.nouvel.ai/billing.md) before automating sensitive actions. HTTP 202 with an approval URL means nothing has executed. Inspect the saved operation rather than starting a second action.


## OpenAPI

````yaml openapi.json POST /actions/domain.plan
openapi: 3.1.0
info:
  title: Nouvel Outbound API
  version: 1.0.0
  description: >-
    Operate your Nouvel outbound workspace with scoped permissions and
    approvals.
servers:
  - url: https://app.nouvel.ai/api/outbound/v1
security:
  - bearerAuth: []
paths:
  /actions/domain.plan:
    post:
      summary: domain.plan
      description: >-
        {"action":"domain.plan","ids":"Use app record IDs returned by
        read_workspace_resource, never provider IDs.","confirmation":"The server
        returns a review card when this action needs
        approval.","input":{"revision":"Current revision from domains; 0 if no
        plan","plan":{"website":"Company website","dailySends":"Integer 1 to
        9000","tld":"com or co","domains":"Array of selected outbound domains;
        never the main website"}}}
      operationId: domain_plan
      parameters:
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                input:
                  type: object
                  properties:
                    revision:
                      type: integer
                      minimum: 0
                    plan:
                      type: object
                      properties:
                        website:
                          type: string
                        dailySends:
                          type: integer
                          minimum: 1
                          maximum: 9000
                        tld:
                          enum:
                            - com
                            - co
                        domains:
                          type: array
                          items:
                            type: string
                      required:
                        - website
                        - dailySends
                        - tld
                        - domains
                      additionalProperties: false
                  required:
                    - revision
                    - plan
                  additionalProperties: false
              required:
                - input
      responses:
        '200':
          description: Executed or replayed result
        '202':
          description: Approval required
        '403':
          description: Missing permission
        '409':
          description: Conflict or uncertain operation
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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