Automile ResourceOwnerCompanyContacts API

The ResourceOwnerCompanyContacts API from Automile — 4 operation(s) for resourceownercompanycontacts.

Operations 5

GET /v1/resourceowner/companycontact Get a list of all company contacts that user is associated with #
POST /v1/resourceowner/companycontact Creates a new company contact and associates it with user #
GET /v1/resourceowner/companycontact/{companyContactId} Get the company contact relationship #
PUT /v1/resourceowner/companycontact/{companyContactIdToEdit} Updates the given companycontact id #
DELETE /v1/resourceowner/companycontact/{companyContactIdToDelete} Removes the given company contact #

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-resourceownercompanycontacts-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-resourceownercompanycontacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Automile ClientApi Resource Owner Company Contacts API
  version: v1
servers:
- url: https://api.automile.com/
tags:
- name: ResourceOwnerCompanyContacts
paths:
  /v1/resourceowner/companycontact:
    get:
      tags:
      - ResourceOwnerCompanyContacts
      summary: Get a list of all company contacts that user is associated with
      description: Only company contacts that the user is associated with will be returned by this operation.
      operationId: GetResourceOwnerCompanyContacts
      responses:
        '200':
          description: The company contacts are returned
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CompanyContactDetailModel'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CompanyContactDetailModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CompanyContactDetailModel'
        '500':
          description: Internal server error
      security:
      - oauth2: []
    post:
      tags:
      - ResourceOwnerCompanyContacts
      summary: Creates a new company contact and associates it with user
      description: The user only has access to contacts that it is associated with through the company
      operationId: CreateResourceOwnerCompanyContact
      responses:
        '200':
          description: A link in the header is returned to the newly created company contact
        '403':
          description: Request is forbidden, this could occur if you try to associate to companies you are not associated with
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompanyContactCreateModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CompanyContactCreateModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CompanyContactCreateModel'
        description: The company contact model
  /v1/resourceowner/companycontact/{companyContactId}:
    get:
      tags:
      - ResourceOwnerCompanyContacts
      summary: Get the company contact relationship
      description: Only company contcats that the user has access to are accessible.
      operationId: GetResourceOwnerCompanyContact
      parameters:
      - in: path
        name: companyContactId
        description: The company contact id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The company contact model is returned
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/CompanyContactDetailModel'
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyContactDetailModel'
            text/json:
              schema:
                $ref: '#/components/schemas/CompanyContactDetailModel'
        '403':
          description: Request is forbidden, meaning you don't have access to this company vehicle relationship
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal server error
      security:
      - oauth2: []
  /v1/resourceowner/companycontact/{companyContactIdToEdit}:
    put:
      tags:
      - ResourceOwnerCompanyContacts
      summary: Updates the given companycontact id
      description: This will update the company contact with the new model.
      operationId: EditResourceOwnerCompanyContact
      parameters:
      - in: path
        name: companyContactIdToEdit
        description: The company contact that should be updated
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The company contact was saved
        '403':
          description: Request is forbidden, this could occur if you are not associated with the company contact
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompanyContactEditModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CompanyContactEditModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CompanyContactEditModel'
        description: The new company contact model
  /v1/resourceowner/companycontact/{companyContactIdToDelete}:
    delete:
      tags:
      - ResourceOwnerCompanyContacts
      summary: Removes the given company contact
      description: This will delete the given company contact.
      operationId: DeleteResourceOwnerCompanyContact
      parameters:
      - in: path
        name: companyContactIdToDelete
        description: The company contact id to remove
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The company contact has been deleted
        '403':
          description: Request is forbidden, this could occur if you are not associated with the company contact
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: The company contact that you tried to remove doesn't exist
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal server error
      security:
      - oauth2: []
components:
  schemas:
    CompanyContactCreateModel:
      required:
      - CompanyId
      - ContactId
      type: object
      properties:
        CompanyId:
          format: int32
          type: integer
        ContactId:
          format: int32
          type: integer
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          format: int32
          type: integer
        detail:
          type: string
        instance:
          type: string
      additionalProperties: {}
    CompanyContactEditModel:
      required:
      - CompanyId
      - ContactId
      type: object
      properties:
        CompanyId:
          format: int32
          type: integer
        ContactId:
          format: int32
          type: integer
      additionalProperties: false
    CompanyContactDetailModel:
      type: object
      properties:
        CompanyContactId:
          format: int32
          type: integer
        CompanyId:
          format: int32
          type: integer
        CompanyName:
          type: string
        ContactId:
          format: int32
          type: integer
        ContactName:
          type: string
        Scopes:
          type: array
          items:
            type: string
      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