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

# Provision a Safe

> Deploys the deterministic 1-of-1 Safe of an address. A second call for the same address deploys nothing and returns the same Safe.



## OpenAPI

````yaml /api/openapi.yaml post /api/wallets/provision
openapi: 3.1.0
info:
  title: Anafi API
  version: 0.1.3
  description: >
    The public HTTP routes of one Anafi network. Each network has its own host.

    Most partners call these routes through `@anafi-cc/sdk`, which also builds
    and checks

    the signed payloads. The routes below need no API key.
servers:
  - url: https://api.polygon.ana.fi
    description: Polygon
  - url: https://api.xlayer.ana.fi
    description: X Layer
  - url: https://api.polygon-amoy.ana.fi
    description: Polygon Amoy (testnet)
security: []
tags:
  - name: Accounts
  - name: Rules
  - name: Activity
  - name: Fees
paths:
  /api/wallets/provision:
    post:
      tags:
        - Accounts
      summary: Provision a Safe
      description: >-
        Deploys the deterministic 1-of-1 Safe of an address. A second call for
        the same address deploys nothing and returns the same Safe.
      operationId: provisionWallet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - eoa
              properties:
                eoa:
                  $ref: '#/components/schemas/Address'
                  description: The address that owns the Safe.
                kind:
                  type: string
                  enum:
                    - safe_1of1
                  description: >-
                    The shape of the account. `safe_1of1` is the default and the
                    only value.
      responses:
        '200':
          description: The Safe.
          content:
            application/json:
              schema:
                type: object
                required:
                  - aa
                  - accountKind
                  - kind
                properties:
                  aa:
                    $ref: '#/components/schemas/Address'
                    description: The address of the Safe.
                  accountKind:
                    type: string
                    enum:
                      - safe_module
                  kind:
                    type: string
                    enum:
                      - deployed
                      - already_deployed
                    description: Whether this call deployed the Safe.
                  txHash:
                    $ref: '#/components/schemas/Hash'
                    description: >-
                      The deploy transaction. Present only when `kind` is
                      `deployed`.
components:
  schemas:
    Address:
      type: string
      pattern: ^0x[0-9a-fA-F]{40}$
      example: '0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed'
    Hash:
      type: string
      pattern: ^0x[0-9a-fA-F]{64}$

````

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