{
  "info": {
    "name": "Axis Unified Inbox API — Leads",
    "description": "# Axis Unified Inbox API\n\nLeads — 7 endpoints, generated from the Laravel route table on Tue, 04 Aug 2026 12:47:23 GMT.\n\n## Getting started\n\n1. Set the `baseUrl` collection variable if you are not using the default.\n2. Run **Authentication → `POST /user/login`** with your email and password.\n   A test script stores the returned JWT into `{{access_token}}` automatically.\n3. Every other request inherits that bearer token — just hit Send.\n\nRequests using an API key instead read `{{api_key}}` or `{{engage_key}}`; set those\nvariables if you need them.\n\n## Variables\n\n| Variable | Purpose |\n| --- | --- |\n| `baseUrl` | API host, e.g. `https://api.axis.im` |\n| `access_token` | JWT bearer token (auto-filled by the login request) |\n| `api_key` | Value for the `X-API-KEY` header |\n| `engage_key` | Value for the `X-Axis-Admin-API-Key` header |",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "axis-api-docs"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{access_token}}",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "GET /leads",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/leads",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "leads"
          ]
        },
        "description": "**Authentication:** API key\n**Handler:** `LeadController@index`\n**Route name:** `leads.index`",
        "auth": {
          "type": "apikey",
          "apikey": [
            {
              "key": "key",
              "value": "X-API-KEY",
              "type": "string"
            },
            {
              "key": "value",
              "value": "{{api_key}}",
              "type": "string"
            },
            {
              "key": "in",
              "value": "header",
              "type": "string"
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "POST /leads",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/leads",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "leads"
          ]
        },
        "description": "**Authentication:** API key\n**Handler:** `LeadController@store`\n**Route name:** `leads.store`\n\n> This endpoint accepts a body, but no `FormRequest` class backs it — validation happens\n> inline in the controller, so the fields could not be derived automatically. An empty JSON\n> body is provided as a starting point.",
        "auth": {
          "type": "apikey",
          "apikey": [
            {
              "key": "key",
              "value": "X-API-KEY",
              "type": "string"
            },
            {
              "key": "value",
              "value": "{{api_key}}",
              "type": "string"
            },
            {
              "key": "in",
              "value": "header",
              "type": "string"
            }
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "DELETE /leads/{lead}",
      "request": {
        "method": "DELETE",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/leads/:lead",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "leads",
            ":lead"
          ],
          "variable": [
            {
              "key": "lead",
              "value": "",
              "description": "lead identifier"
            }
          ]
        },
        "description": "**Authentication:** API key\n**Handler:** `LeadController@destroy`\n**Route name:** `leads.destroy`",
        "auth": {
          "type": "apikey",
          "apikey": [
            {
              "key": "key",
              "value": "X-API-KEY",
              "type": "string"
            },
            {
              "key": "value",
              "value": "{{api_key}}",
              "type": "string"
            },
            {
              "key": "in",
              "value": "header",
              "type": "string"
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "GET /leads/{lead}",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/leads/:lead",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "leads",
            ":lead"
          ],
          "variable": [
            {
              "key": "lead",
              "value": "",
              "description": "lead identifier"
            }
          ]
        },
        "description": "**Authentication:** API key\n**Handler:** `LeadController@show`\n**Route name:** `leads.show`",
        "auth": {
          "type": "apikey",
          "apikey": [
            {
              "key": "key",
              "value": "X-API-KEY",
              "type": "string"
            },
            {
              "key": "value",
              "value": "{{api_key}}",
              "type": "string"
            },
            {
              "key": "in",
              "value": "header",
              "type": "string"
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "PUT /leads/{lead}",
      "request": {
        "method": "PUT",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/leads/:lead",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "leads",
            ":lead"
          ],
          "variable": [
            {
              "key": "lead",
              "value": "",
              "description": "lead identifier"
            }
          ]
        },
        "description": "**Authentication:** API key\n**Handler:** `LeadController@update`\n**Route name:** `leads.update`\n\n> This endpoint accepts a body, but no `FormRequest` class backs it — validation happens\n> inline in the controller, so the fields could not be derived automatically. An empty JSON\n> body is provided as a starting point.",
        "auth": {
          "type": "apikey",
          "apikey": [
            {
              "key": "key",
              "value": "X-API-KEY",
              "type": "string"
            },
            {
              "key": "value",
              "value": "{{api_key}}",
              "type": "string"
            },
            {
              "key": "in",
              "value": "header",
              "type": "string"
            }
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "GET /leads/{lead}/edit",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/leads/:lead/edit",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "leads",
            ":lead",
            "edit"
          ],
          "variable": [
            {
              "key": "lead",
              "value": "",
              "description": "lead identifier"
            }
          ]
        },
        "description": "**Authentication:** API key\n**Handler:** `LeadController@edit`\n**Route name:** `leads.edit`",
        "auth": {
          "type": "apikey",
          "apikey": [
            {
              "key": "key",
              "value": "X-API-KEY",
              "type": "string"
            },
            {
              "key": "value",
              "value": "{{api_key}}",
              "type": "string"
            },
            {
              "key": "in",
              "value": "header",
              "type": "string"
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "GET /leads/create",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/leads/create",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "leads",
            "create"
          ]
        },
        "description": "**Authentication:** API key\n**Handler:** `LeadController@create`\n**Route name:** `leads.create`",
        "auth": {
          "type": "apikey",
          "apikey": [
            {
              "key": "key",
              "value": "X-API-KEY",
              "type": "string"
            },
            {
              "key": "value",
              "value": "{{api_key}}",
              "type": "string"
            },
            {
              "key": "in",
              "value": "header",
              "type": "string"
            }
          ]
        }
      },
      "response": []
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.axis.im",
      "type": "string"
    },
    {
      "key": "access_token",
      "value": "",
      "type": "string"
    },
    {
      "key": "api_key",
      "value": "",
      "type": "string"
    },
    {
      "key": "engage_key",
      "value": "",
      "type": "string"
    }
  ]
}