Arcadia Webhooks API

Asynchronous events for statement, meter, and credential lifecycle.

OpenAPI Specification

arcadia-power-webhooks-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Arcadia Plug Accounts Webhooks API
  version: '2024-02-21'
  description: 'The Arcadia Plug API is the primary developer surface of the Arc utility data platform.

    It provides programmatic access to utility accounts, statements (bills), meters,

    interval (15-minute) usage data, providers, sites, files, and webhooks. Authentication

    uses OAuth 2.0 client credentials; an Arcadia-Version header pins request behavior to

    a dated API revision (default 2024-02-21). Sandbox mode is available end-to-end.

    '
  contact:
    name: Arcadia API Support
    url: https://docs.arcadia.com
  license:
    name: Arcadia API Terms
    url: https://www.arcadia.com/terms-of-service
servers:
- url: https://api.arcadia.com
  description: Production
tags:
- name: Webhooks
  description: Asynchronous events for statement, meter, and credential lifecycle.
paths:
  /plug/webhooks:
    get:
      tags:
      - Webhooks
      summary: List Webhooks
      operationId: listWebhooks
      parameters:
      - $ref: '#/components/parameters/ArcadiaVersion'
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/Size'
      responses:
        '200':
          $ref: '#/components/responses/Ok'
      security:
      - bearerAuth: []
  /plug/webhooks/{webhookId}:
    get:
      tags:
      - Webhooks
      summary: Retrieve Webhook
      operationId: retrieveWebhook
      parameters:
      - $ref: '#/components/parameters/ArcadiaVersion'
      - in: path
        name: webhookId
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/Ok'
      security:
      - bearerAuth: []
  /plug/webhooks/{webhookId}/resend:
    post:
      tags:
      - Webhooks
      summary: Resend Webhook
      operationId: resendWebhook
      parameters:
      - $ref: '#/components/parameters/ArcadiaVersion'
      - in: path
        name: webhookId
        required: true
        schema:
          type: string
      responses:
        '202':
          description: Resend queued.
      security:
      - bearerAuth: []
components:
  parameters:
    Size:
      in: query
      name: size
      schema:
        type: integer
        default: 20
        maximum: 200
      description: Page size.
    ArcadiaVersion:
      in: header
      name: Arcadia-Version
      required: false
      schema:
        type: string
        default: '2024-02-21'
      description: Date-pinned API version.
    Page:
      in: query
      name: page
      schema:
        type: integer
        default: 0
        minimum: 0
      description: Zero-based page index.
  responses:
    Ok:
      description: Successful response.
      content:
        application/json: {}
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT