{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fixture Accounts API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://beta-api.fixture.app/api/v1/accounts",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Opaque cursor returned by the previous page. Omit for the first page."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort by a supported field. Prefix with `-` for descending order."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter by a partial, case-insensitive name match."
              },
              {
                "name": "industry",
                "value": "",
                "type": "query",
                "description": "Filter Accounts by industry."
              },
              {
                "name": "linkedin_url",
                "value": "",
                "type": "query"
              },
              {
                "name": "headquarters_city",
                "value": "",
                "type": "query",
                "description": "Filter Accounts by headquarters city."
              },
              {
                "name": "created_after",
                "value": "",
                "type": "query",
                "description": "Return only records created after this ISO 8601 timestamp."
              },
              {
                "name": "created_before",
                "value": "",
                "type": "query",
                "description": "Return only records created before this ISO 8601 timestamp."
              },
              {
                "name": "updated_after",
                "value": "",
                "type": "query",
                "description": "Return only records updated after this ISO 8601 timestamp."
              },
              {
                "name": "updated_before",
                "value": "",
                "type": "query",
                "description": "Return only records updated before this ISO 8601 timestamp."
              },
              {
                "name": "relationship",
                "value": "",
                "type": "query",
                "description": "Filter by owner relationship. Use `owner:user_...` for owned records or `owner:none` for unowned records."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Choose which public fields appear in each list record. Omit or pass a blank value for the default list fields, use `*` alone for every public detail field, or pass comma-separated names."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Return a paginated list of Account summaries for the authenticated organization. Supports filtering by `name`, `industry`, `headquarters_city`, and created/updated timestamps. Sort supports `created_at` or `-created_at`; pagination uses `limit` and `cursor`. Use `fields` to choose which public Account fields appear in each record."
        },
        {
          "info": {
            "name": "Create an Account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://beta-api.fixture.app/api/v1/accounts",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new Account (company) record in the authenticated organization. Returns the full Account detail payload including the generated `acc_` ID. Typically followed by creating Contacts or Deals linked to this Account."
        },
        {
          "info": {
            "name": "Get an Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://beta-api.fixture.app/api/v1/accounts/:account_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Opaque Account ID with the `account_` prefix."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Return a single Account by its `acc_` ID with all detail fields."
        },
        {
          "info": {
            "name": "Update an Account",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://beta-api.fixture.app/api/v1/accounts/:account_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Opaque Account ID with the `account_` prefix."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially update an Account by ID. Only fields present in the request body are modified; omitted fields are left untouched. Pass `null` to clear nullable fields."
        },
        {
          "info": {
            "name": "Delete an Account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://beta-api.fixture.app/api/v1/accounts/:account_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Opaque Account ID with the `account_` prefix."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an Account by ID. Linked Contacts and Deals are not cascade-deleted — their `account_id` is cleared so the records remain in the organization."
        }
      ]
    }
  ],
  "bundled": true
}