For the complete documentation index, see llms.txt. This page is also available as Markdown.

Company

Get Company Stats

get

Retrieves activity statistics for the company associated with the current API key, including active flow count, successful and failed flow run counts, and average flow run time.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Responses
200

Successful response

application/json
get/api/v1/my/company/stats
GET /api/v1/my/company/stats HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "data": {
    "id": 0,
    "created_at": "2025-01-15T10:30:00.000000Z",
    "updated_at": "2025-01-15T10:30:00.000000Z"
  }
}

List Company Transactions

get

Retrieves a paginated list of transactions for the company associated with the current API key. Can be sorted by order_by and direction.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Responses
200

Successful response

application/json
get/api/v1/my/company/transactions
GET /api/v1/my/company/transactions HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "data": [
    {
      "id": 1,
      "created_at": "2025-01-15T10:30:00.000000Z",
      "updated_at": "2025-01-15T10:30:00.000000Z"
    }
  ],
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "path": "https://api.example.com/api/v1/my/company/transactions",
    "per_page": 25,
    "to": 1,
    "total": 1
  },
  "links": {
    "first": "https://api.example.com/api/v1/my/company/transactions?page=1",
    "last": "https://api.example.com/api/v1/my/company/transactions?page=1",
    "prev": null,
    "next": null
  }
}

Last updated

Was this helpful?