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

# Accounts.updated webhook

> The `accounts.updated` webhook is sent when there is any change to a property value of the [account object](/api-reference/accounts/overview).

<Warning>
When an account is first connected, the `accounts.updated` webhook is sent frequently — each time new data is added or used to refine a previous value.
</Warning>

Whenever the `accounts.connected` and `accounts.failed` webhooks are sent, the `accounts.updated` webhook is sent as well.




## OpenAPI

````yaml openAPI/account-webhook-updated.yaml post /v2/webhooks
openapi: 3.0.0
info:
  title: Accounts Webhooks API
  version: 1.0.0
  description: >
    API for handling account connection events via webhooks.

    The `accounts.added` webhook is sent when a user submits login credentials
    through Link. A new account object is created after the login credentials
    have undergone authentication, regardless of whether the connection was
    successful (`accounts.connected` is sent) or unsuccessful (`accounts.failed`
    is sent).
servers: []
security:
  - basicAuth: []
paths:
  /v2/webhooks:
    post:
      summary: Updated
      description: >
        The `accounts.updated` webhook is sent when there is any change to a
        property value of the [account
        object](/api-reference/accounts/overview).


        <Warning>

        When an account is first connected, the `accounts.updated` webhook is
        sent frequently — each time new data is added or used to refine a
        previous value.

        </Warning>


        Whenever the `accounts.connected` and `accounts.failed` webhooks are
        sent, the `accounts.updated` webhook is sent as well.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountsUpdatedRequest'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountsUpdatedWebhook'
components:
  schemas:
    AccountsUpdatedRequest:
      type: object
      properties:
        events:
          type: array
          items:
            type: string
            enum:
              - accounts.updated
          description: |
            Array containing the `accounts.updated` event.
            Value: `accounts.updated`
        name:
          type: string
          description: Your name for the webhook subscription.
        url:
          type: string
          description: >-
            Where you want to receive webhook delivery. This can be either a
            backend URL that you manage, or a URL provided by a webhook
            management service. Argyle handles URL encoding for webhook URLs.
            Send the URL in its normal, unencoded form.
        secret:
          type: string
          description: Optional secret used to verify webhooks.
        config:
          type: object
          properties:
            include_resource:
              type: boolean
              description: >
                `"include_resource": true` will return the [account
                object](/api-reference/accounts#object) in the response within a
                `resource` object.
      required:
        - events
        - name
        - url
      example:
        events:
          - accounts.updated
        name: name-for-the-webhook-subscription
        url: https://your-webhook-backend.com
        secret: optional-secret
        config:
          include_resource: true
    AccountsUpdatedWebhook:
      type: object
      properties:
        event:
          type: string
          description: The event that triggered the webhook.
          example: accounts.updated
        name:
          type: string
          description: Name used for the webhook subscription.
          example: name-for-the-webhook-subscription
        data:
          type: object
          properties:
            account:
              type: string
              format: uuid
              description: ID of the account.
              example: 0187c66e-e7e5-811c-b006-2232f00f426a
            user:
              type: string
              format: uuid
              description: ID of the user.
              example: 018051aa-f7a9-a0db-2f38-6cfa325e9d69
            resource:
              type: object
              description: Optional account object.
      example:
        event: accounts.updated
        name: name-for-the-webhook-subscription
        data:
          account: 0187c66e-e7e5-811c-b006-2232f00f426a
          user: 018051aa-f7a9-a0db-2f38-6cfa325e9d69
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Username = api_key_id, Password = api_key_secret

````