Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Phasio Manufacturer Material Controller 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: Manufacturer Material Controller
description: Endpoints for managing manufacturing materials
paths:
/api/manufacturer/v1/material/{materialId}:
get:
tags:
- Manufacturer Material Controller
summary: Get material by ID
description: Retrieves a specific material by its unique identifier
operationId: getById_6
parameters:
- name: materialId
in: path
description: ID of the material to retrieve
required: true
schema:
type: integer
format: int64
responses:
'200':
description: Material found
content:
application/json:
schema:
$ref: '#/components/schemas/MaterialDto'
'404':
description: Material not found (MATERIAL_NOT_FOUND)
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
components:
schemas:
ApiError:
type: object
additionalProperties: true
description: Stable error contract. `error` is a SCREAMING_SNAKE code that clients match on; `message` is a human-readable sentence. Some errors add extra string fields (for example organisationId).
properties:
error:
type: string
example: ORDER_NOT_FOUND
message:
type: string
example: Order not found
required:
- error
- message
MaterialDto:
type: object
properties:
materialId:
type: integer
format: int64
name:
type: string
type:
type: string
required:
- materialId
- name
- type
securitySchemes:
Phasio_API_Bearer_Token:
type: http
name: Authorization
in: header
scheme: bearer
bearerFormat: JWT