Phasio Activity Internal API

Internal API for activity operations including conversation creation

Operations 2

POST /api/internal/v1/activity/conversation Create new conversations #
GET /api/internal/v1/activity/thread/{threadId}/organisation Get thread organisation ID #

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/phasio-activity-internal-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

phasio-activity-internal-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Phasio Activity Internal API
  description: This is the API documentation for the Phasio application.
  version: '1.0'
servers:
- url: https://m-api.eu.phas.io
  description: Generated server url
security:
- Phasio API Bearer Token: []
tags:
- name: Activity Internal
  description: Internal API for activity operations including conversation creation
paths:
  /api/internal/v1/activity/conversation:
    post:
      tags:
      - Activity Internal
      summary: Create new conversations
      description: Creates new conversations, as either the customer or manufacturer
      operationId: create_18
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateConversationDto'
        required: true
      responses:
        '200':
          description: Conversation successfully created
        '400':
          description: Invalid conversation data or operator not found
        '401':
          description: Unauthorized - missing or invalid authentication
  /api/internal/v1/activity/thread/{threadId}/organisation:
    get:
      tags:
      - Activity Internal
      summary: Get thread organisation ID
      description: Retrieves the organisation ID associated with a specific thread
      operationId: getThreadOrganisationId
      parameters:
      - name: threadId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Successfully retrieved organisation ID
          content:
            '*/*':
              schema:
                type: integer
                format: int64
        '404':
          description: Thread not found
        '401':
          description: Unauthorized - missing or invalid authentication
components:
  schemas:
    CreateConversationDto:
      allOf:
      - $ref: '#/components/schemas/CreateActivityDto'
      - type: object
        properties:
          conversationType:
            type: string
          message:
            type: string
          requisitionTagged:
            $ref: '#/components/schemas/RequisitionTaggedDto'
          locationTagged:
            $ref: '#/components/schemas/LocationTaggedDto'
          orderId:
            type: integer
            format: int64
      required:
      - activityType
      - conversationType
      - message
      - threadId
    LocationTaggedDto:
      type: object
      properties:
        requisitionId:
          type: integer
          format: int64
        locationX:
          type: number
        locationY:
          type: number
        locationZ:
          type: number
        cameraPositionX:
          type: number
        cameraPositionY:
          type: number
        cameraPositionZ:
          type: number
        cameraRotationX:
          type: number
        cameraRotationY:
          type: number
        cameraRotationZ:
          type: number
      required:
      - cameraPositionX
      - cameraPositionY
      - cameraPositionZ
      - cameraRotationX
      - cameraRotationY
      - cameraRotationZ
      - locationX
      - locationY
      - locationZ
      - requisitionId
    RequisitionTaggedDto:
      type: object
      properties:
        requisitionId:
          type: integer
          format: int64
      required:
      - requisitionId
    CreateActivityDto:
      type: object
      properties:
        activityType:
          type: string
        threadId:
          type: integer
          format: int64
      required:
      - activityType
      - threadId
  securitySchemes:
    Phasio_API_Bearer_Token:
      type: http
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT