{
  "opencollection": "1.0.0",
  "info": {
    "name": "Conekta Antifraud Companies API",
    "version": "2.2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Companies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get List of Companies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.conekta.io/companies",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The numbers of items to return, the maximum value is 250"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "General order search, e.g. by mail, reference etc."
              },
              {
                "name": "next",
                "value": "",
                "type": "query",
                "description": "next page"
              },
              {
                "name": "previous",
                "value": "",
                "type": "query",
                "description": "previous page"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Consume the list of child companies.  This is used for holding companies with several child entities."
        },
        {
          "info": {
            "name": "Create Company",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.conekta.io/companies",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new company."
        },
        {
          "info": {
            "name": "Get Company",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.conekta.io/companies/:id",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "6307a60c41de27127515a575",
                "type": "path",
                "description": "Identifier of the resource"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Company"
        },
        {
          "info": {
            "name": "Get Current Company",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.conekta.io/companies/current",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves information about the currently authenticated company. This endpoint returns the same data as the standard company endpoint but automatically uses the current company's context."
        },
        {
          "info": {
            "name": "Upload Company Document",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.conekta.io/companies/:company_id/document",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the company."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Uploads a document associated with a specific company."
        },
        {
          "info": {
            "name": "Update Company Document",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.conekta.io/companies/:company_id/document",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the company."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates an existing document associated with a specific company."
        },
        {
          "info": {
            "name": "Get Company Documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.conekta.io/companies/:company_id/documents",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the company."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a list of documents associated with a specific company."
        }
      ]
    }
  ],
  "bundled": true
}