Automile ResourceOwnerOrganization API

The ResourceOwnerOrganization API from Automile — 2 operation(s) for resourceownerorganization.

Operations 3

GET /v1/resourceowner/organization Get a the details of the organizationt he user is assoicates with #
PUT /v1/resourceowner/organization Updates the organization #
GET /v1/resourceowner/organization/hierarchy Get the organization hierarchy #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/automile-resourceownerorganization-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

automile-resourceownerorganization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Automile ClientApi Resource Owner Organization API
  version: v1
servers:
- url: https://api.automile.com/
tags:
- name: ResourceOwnerOrganization
paths:
  /v1/resourceowner/organization:
    get:
      tags:
      - ResourceOwnerOrganization
      summary: Get a the details of the organizationt he user is assoicates with
      operationId: GetResourceOwnerOrganization
      responses:
        '200':
          description: The organization model is returned
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OrganizationModel'
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationModel'
            text/json:
              schema:
                $ref: '#/components/schemas/OrganizationModel'
        '500':
          description: Internal server error
      security:
      - oauth2: []
    put:
      tags:
      - ResourceOwnerOrganization
      summary: Updates the organization
      description: This will update the organization with the new model.
      operationId: EditResourceOwnerOrganization
      responses:
        '200':
          description: The organization was saved
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/HttpResponseMessage'
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResponseMessage'
            text/json:
              schema:
                $ref: '#/components/schemas/HttpResponseMessage'
        '500':
          description: Internal server error
        '404':
          description: You are not authorized to edit the organization
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationEditModel'
          text/json:
            schema:
              $ref: '#/components/schemas/OrganizationEditModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/OrganizationEditModel'
        description: The organization model containing the changes
  /v1/resourceowner/organization/hierarchy:
    get:
      tags:
      - ResourceOwnerOrganization
      summary: Get the organization hierarchy
      operationId: GetResourceOrganizationHierarchy
      responses:
        '200':
          description: The organization hierarchy is returned
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrganizationNodeModel'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrganizationNodeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrganizationNodeModel'
        '500':
          description: Internal server error
        '403':
          description: Request is forbidden, meaning you dont' have access to this contact
        '404':
          description: Contact does not exist
      security:
      - oauth2: []
components:
  schemas:
    AddressModel:
      required:
      - AddressLine2
      - City
      - ISO3166CountryCode
      - ZipCode
      type: object
      properties:
        AddressId:
          format: int32
          type: integer
        CompanyName:
          type: string
        ContactNameAtAddress:
          type: string
        AddressLine2:
          minLength: 1
          type: string
        AddressLine3:
          type: string
        AddressLine4:
          type: string
        ZipCode:
          minLength: 1
          type: string
        City:
          minLength: 1
          type: string
        StateOrProvince:
          type: string
        ISO3166CountryCode:
          minLength: 1
          type: string
      additionalProperties: false
    HttpRequestMessage:
      type: object
      properties:
        Version:
          $ref: '#/components/schemas/Version'
        VersionPolicy:
          format: int32
          enum:
          - 0
          - 1
          - 2
          type: integer
        Content:
          $ref: '#/components/schemas/HttpContent'
        Method:
          $ref: '#/components/schemas/HttpMethod'
        RequestUri:
          format: uri
          type: string
        Headers:
          type: array
          items:
            $ref: '#/components/schemas/StringStringIEnumerableKeyValuePair'
          readOnly: true
        Properties:
          type: object
          additionalProperties: {}
          readOnly: true
        Options:
          type: object
          additionalProperties: {}
          readOnly: true
      additionalProperties: false
    Version:
      type: object
      properties:
        Major:
          format: int32
          type: integer
          readOnly: true
        Minor:
          format: int32
          type: integer
          readOnly: true
        Build:
          format: int32
          type: integer
          readOnly: true
        Revision:
          format: int32
          type: integer
          readOnly: true
        MajorRevision:
          format: int32
          type: integer
          readOnly: true
        MinorRevision:
          format: int32
          type: integer
          readOnly: true
      additionalProperties: false
    OrganizationModel:
      type: object
      properties:
        OrganizationName:
          type: string
        LegalIdentificationNumber:
          type: string
        VATNumber:
          type: string
        BillingAddress:
          $ref: '#/components/schemas/AddressModel'
        ShipmentAddress:
          $ref: '#/components/schemas/AddressModel'
        Culture:
          type: string
        UnitType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          type: integer
        IsHierarchyEnabled:
          type: boolean
        ISO4217CurrencyCode:
          type: string
        OrganizationId:
          format: int32
          type: integer
      additionalProperties: false
    HttpContent:
      type: object
      properties:
        Headers:
          type: array
          items:
            $ref: '#/components/schemas/StringStringIEnumerableKeyValuePair'
          readOnly: true
      additionalProperties: false
    HttpResponseMessage:
      type: object
      properties:
        Version:
          $ref: '#/components/schemas/Version'
        Content:
          $ref: '#/components/schemas/HttpContent'
        StatusCode:
          format: int32
          enum:
          - 100
          - 101
          - 102
          - 103
          - 200
          - 201
          - 202
          - 203
          - 204
          - 205
          - 206
          - 207
          - 208
          - 226
          - 300
          - 301
          - 302
          - 303
          - 304
          - 305
          - 306
          - 307
          - 308
          - 400
          - 401
          - 402
          - 403
          - 404
          - 405
          - 406
          - 407
          - 408
          - 409
          - 410
          - 411
          - 412
          - 413
          - 414
          - 415
          - 416
          - 417
          - 421
          - 422
          - 423
          - 424
          - 426
          - 428
          - 429
          - 431
          - 451
          - 500
          - 501
          - 502
          - 503
          - 504
          - 505
          - 506
          - 507
          - 508
          - 510
          - 511
          type: integer
        ReasonPhrase:
          type: string
        Headers:
          type: array
          items:
            $ref: '#/components/schemas/StringStringIEnumerableKeyValuePair'
          readOnly: true
        TrailingHeaders:
          type: array
          items:
            $ref: '#/components/schemas/StringStringIEnumerableKeyValuePair'
          readOnly: true
        RequestMessage:
          $ref: '#/components/schemas/HttpRequestMessage'
        IsSuccessStatusCode:
          type: boolean
          readOnly: true
      additionalProperties: false
    HttpMethod:
      type: object
      properties:
        Method:
          type: string
      additionalProperties: false
    StringStringIEnumerableKeyValuePair:
      type: object
      properties:
        Key:
          type: string
        Value:
          type: array
          items:
            type: string
      additionalProperties: false
    OrganizationEditModel:
      type: object
      properties:
        OrganizationName:
          type: string
        LegalIdentificationNumber:
          type: string
        VATNumber:
          type: string
        BillingAddress:
          $ref: '#/components/schemas/AddressModel'
        ShipmentAddress:
          $ref: '#/components/schemas/AddressModel'
        Culture:
          type: string
        UnitType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          type: integer
      additionalProperties: false
    OrganizationNodeModel:
      type: object
      properties:
        OrganizationNodeId:
          format: int32
          type: integer
        Name:
          type: string
        ParentOrganizationNodeId:
          format: int32
          type: integer
        Children:
          type: array
          items:
            $ref: '#/components/schemas/OrganizationNodeModel'
        HasChildren:
          type: boolean
          readOnly: true
      additionalProperties: false
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          scopes:
            read: Read access to protected resources
            write: Write access to protected resources
          authorizationUrl: https://api.automile.com/login/
      description: OAuth2 Implicit Grant