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 Color 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 Color Controller
description: Endpoints for retrieving color options for manufactured parts
paths:
/api/manufacturer/v1/color/{colorId}:
get:
tags:
- Manufacturer Color Controller
summary: Get color by ID
description: Retrieves a specific color by its unique identifier
operationId: getById_8
parameters:
- name: colorId
in: path
description: ID of the color to retrieve
required: true
schema:
type: integer
format: int64
responses:
'200':
description: Color found
content:
application/json:
schema:
$ref: '#/components/schemas/ColorDto'
'404':
description: Color not found (COLOR_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
ColorDto:
type: object
properties:
id:
type: integer
format: int64
code:
type: string
name:
type: string
required:
- code
- id
- name
securitySchemes:
Phasio_API_Bearer_Token:
type: http
name: Authorization
in: header
scheme: bearer
bearerFormat: JWT