Symphony Users API
The Users API from Symphony — 1 operation(s) for users.
The Users API from Symphony — 1 operation(s) for users.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/symphony-fr:symphony-fr-users-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Symphony Users API
description: 'Public API for Symphony. Allows management of recipes, ingredients, meal baskets, and discovery.
Authentication is required for all endpoints via an API Key.
Base domain: `https://symphony.fr`'
version: 2.0.0
servers:
- url: /api/v2
x-server-base: https://symphony.fr
security:
- ApiKeyAuth: []
tags:
- name: Users
paths:
/users/{userId}/meals/history:
get:
operationId: getMealHistory
summary: Retrieve meals history
description: 'Returns the user''s paginated meal history using cursor-based pagination.
To fetch subsequent pages, provide `lastCursorId` from the previous response''s `pagination` object.'
tags:
- Users
parameters:
- $ref: '#/components/parameters/UserIdParameter'
- $ref: '#/components/parameters/LanguageParameter'
- name: lastCursorId
in: query
required: false
description: ID of last meal from previous page (from 'pagination.lastCursorId'). Omit for first page
schema:
type: string
- name: limit
in: query
required: false
description: Maximum number of meal history entries per page
schema:
type: integer
default: 20
minimum: 1
maximum: 100
example: 20
responses:
'200':
description: Successful operation
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiSuccessResponse'
- type: object
properties:
data:
$ref: '#/components/schemas/MealHistoryResponseData'
required:
- data
examples:
FirstPage:
summary: First page of results
value:
success: true
data:
meals:
- id: meal_abc
title: Spicy Tofu Stir-Fry
ingredientQuantities:
- 0.4
- 0.3
- 0.1
- 0.2
quantity: 500
- id: meal_def
title: Lentil Shepherd Pie
ingredientQuantities:
- 0.5
- 0.2
- 0.2
- 0.1
quantity: 450
pagination:
hasNextPage: true
lastCursorId: meal_def
errors: []
meta:
__response_format: standard
LastPage:
summary: Last page of results
value:
success: true
data:
meals:
- id: meal_xyz
title: Final Meal Found
ingredientQuantities:
- 0.9
- 0.1
quantity: 400
pagination:
hasNextPage: false
errors: []
meta:
__response_format: standard
NoResults:
summary: No meal history
value:
success: true
data:
meals: []
pagination:
hasNextPage: false
errors: []
meta:
__response_format: standard
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
examples:
InvalidLimit:
summary: Limit outside allowed range
value:
success: false
errors:
- message: Limit must be between 1 and 100.
error_code: 400
meta:
__response_format: standard
InvalidLimitType:
summary: Limit not a valid number
value:
success: false
errors:
- message: Limit must be a number.
error_code: 400
meta:
__response_format: standard
'401':
$ref: '#/components/responses/UnauthorizedResponse'
'404':
$ref: '#/components/responses/UserNotFoundResponse'
default:
description: Unexpected error
components:
parameters:
LanguageParameter:
name: lang
in: query
description: Language for localized response fields
schema:
type: string
enum:
- en
- fr
default: fr
UserIdParameter:
name: userId
in: path
required: true
description: 'The ID of the user. Can be a user ID or ''@me'' to refer to the authenticated user
'
schema:
type: string
example: '@me'
responses:
UserNotFoundResponse:
description: User not found
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiErrorResponse'
- type: object
properties:
errors:
type: array
items:
type: object
properties:
message:
type: string
example: User account does not exist
error_code:
type: integer
const: 404
required:
- message
- error_code
UnauthorizedResponse:
description: No authorization
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiErrorResponse'
- type: object
properties:
errors:
type: array
items:
type: object
properties:
message:
type: string
example: Unauthorized
error_code:
type: integer
const: 401
required:
- message
- error_code
schemas:
MealHistoryResponseData:
type: object
properties:
meals:
type: array
items:
$ref: '#/components/schemas/Meal'
pagination:
$ref: '#/components/schemas/CursorPaginationInfo'
required:
- meals
- pagination
Meal:
type: object
description: A meal is a recipe with additional meal-specific properties
allOf:
- $ref: '#/components/schemas/Recipe'
- type: object
properties:
quantity:
type: integer
description: Quantity of this meal in grams
example: 500
minimum: 280
maximum: 650
mealCount:
type: integer
description: Number of individual meal portions this represents
example: 2
fulfilledAt:
type: string
format: date-time
nullable: true
description: Timestamp when meal was physically delivered to customer
example: '2025-05-15T14:30:00Z'
orderedAt:
type: string
format: date-time
description: Timestamp when meal was ordered by customer
example: '2025-05-12T19:22:00Z'
visualId:
type: object
description: Visual identification markers for the meal
properties:
animal:
type: string
description: Animal symbol representing this meal
example: abeille
color:
type: string
description: Color identifier in hex format
example: '#FF7EC0'
required:
- animal
- color
required:
- quantity
- mealCount
- orderedAt
- visualId
CursorPaginationInfo:
type: object
description: Information for cursor-based pagination
properties:
hasNextPage:
type: boolean
description: Indicates if more results are available
example: true
lastCursorId:
type: string
description: ID of last item on current page. Use in 'lastCursorId' parameter for next page. Only present when hasNextPage is true
example: 63485116b0ff720c5cb04bf0
lastCursorScore:
type: number
format: float
description: Score of last item on current page. Use in 'lastCursorScore' parameter for next page. Only present when hasNextPage is true and sorting requires it (e.g., /recipes/discover)
example: 0.78
required:
- hasNextPage
NutritionalValues:
type: object
description: 'Nutritional values. Property keys are localized via `lang` query param (`en` or `fr`).
Example: `?lang=en` returns English keys ("Proteins" instead of "Protéines").
'
properties:
price:
type: number
format: float
description: 'Localized key: "Price" (en) or "Prix" (fr). Unit: €'
energy:
type: number
format: float
description: 'Localized key: "Energy" (en) or "Énergie" (fr). Unit: kcal'
ages:
type: number
format: float
description: 'Localized key: "AGEs" (en/fr). Unit: kU'
water:
type: number
format: float
description: 'Localized key: "Water" (en) or "Eau" (fr). Unit: g'
fiber:
type: number
format: float
description: 'Localized key: "Fibers" (en) or "Fibres" (fr). Unit: g'
protein:
type: number
format: float
description: 'Localized key: "Proteins" (en) or "Protéines" (fr). Unit: g'
lipid:
type: number
format: float
description: 'Localized key: "Lipids" (en) or "Matières grasses" (fr). Unit: g'
saturated-fat:
type: number
format: float
description: 'Localized key: "Saturated fat" (en) or "Acides gras saturés" (fr). Unit: g'
monounsaturated-fat:
type: number
format: float
description: 'Localized key: "Monounsaturated fat" (en) or "Acides gras monoinsaturés" (fr). Unit: g'
polyunsaturated-fat:
type: number
format: float
description: 'Localized key: "Polyunsaturated fat" (en) or "Acides gras polyinsaturés" (fr). Unit: g'
CBD:
type: number
format: float
description: 'Localized key: "CBD" (en/fr). Unit: g'
glutamic-acid:
type: number
format: float
description: 'Localized key: "Glutamic acid" (en) or "Acide glutamique" (fr). Unit: g'
ash:
type: number
format: float
description: 'Localized key: "Ash" (en) or "Cendres" (fr). Unit: g'
potassium:
type: number
format: float
description: 'Localized key: "Potassium" (en/fr). Unit: g'
magnesium:
type: number
format: float
description: 'Localized key: "Magnesium" (en/fr). Unit: g'
iron:
type: number
format: float
description: 'Localized key: "Iron" (en) or "Fer" (fr). Unit: g'
alcohol:
type: number
format: float
description: 'Localized key: "Alcohol" (en) or "Alcool" (fr). Unit: g'
sodium:
type: number
format: float
description: 'Localized key: "Sodium" (en/fr). Unit: g'
availableCarb:
type: number
format: float
description: 'Localized key: "Carbs" (en) or "Glucides" (fr). Unit: g'
carbohydrate:
type: number
format: float
description: 'Localized key: "Carbs" (en) or "Glucides" (fr). Unit: g'
sugar:
type: number
format: float
description: 'Localized key: "Sugar" (en) or "Sucre" (fr). Unit: g'
fodmap:
type: number
format: float
description: 'Localized key: "FODMAP" (en/fr). Unit: U'
sucrose:
type: number
format: float
description: 'Localized key: "Sucrose" (en/fr). Unit: g'
glucose:
type: number
format: float
description: 'Localized key: "Glucose" (en/fr). Unit: g'
fructose:
type: number
format: float
description: 'Localized key: "Fructose" (en/fr). Unit: g'
lactose:
type: number
format: float
description: 'Localized key: "Lactose" (en/fr). Unit: g'
maltose:
type: number
format: float
description: 'Localized key: "Maltose" (en/fr). Unit: g'
galactose:
type: number
format: float
description: 'Localized key: "Galactose" (en/fr). Unit: g'
vitamin-A:
type: number
format: float
description: 'Localized key: "Vitamin A" (en) or "Vitamine A" (fr). Unit: UI'
vitamin-C:
type: number
format: float
description: 'Localized key: "Vitamin C" (en) or "Vitamine C" (fr). Unit: g'
vitamin-D:
type: number
format: float
description: 'Localized key: "Vitamin D" (en) or "Vitamine D" (fr). Unit: UI'
vitamin-B6:
type: number
format: float
description: 'Localized key: "Vitamin B-6" (en) or "Vitamine B-6" (fr). Unit: g'
vitamin-B12:
type: number
format: float
description: 'Localized key: "Vitamin B-12" (en) or "Vitamine B-12" (fr). Unit: g'
sourness:
type: number
format: float
description: 'Localized key: "Sourness" (en) or "Acidité" (fr). Unit: sourness'
veganness:
type: number
format: float
description: 'Localized key: "Veganness" (en) or "Veganité" (fr). Unit: veganness'
PUFA_18-2_n-6:
type: number
format: float
description: 'Localized key: "PUFA 18:2 n-6" (en/fr). Unit: g'
PUFA_18-3_n-6:
type: number
format: float
description: 'Localized key: "PUFA 18:3 n-6" (en/fr). Unit: g'
PUFA_18-4_n-6:
type: number
format: float
description: 'Localized key: "PUFA 18:4 n-6" (en/fr). Unit: g'
PUFA_20-4_n-6:
type: number
format: float
description: 'Localized key: "PUFA 20:4 n-6" (en/fr). Unit: g'
omega-6:
type: number
format: float
description: 'Localized key: "Omega 6" (en/fr). Unit: g'
PUFA_20-5_n-3:
type: number
format: float
description: 'Localized key: "EPA n-3" (en/fr). Unit: g'
PUFA_22-5_n-3:
type: number
format: float
description: 'Localized key: "DPA n-3" (en/fr). Unit: g'
PUFA_22-6_n-3:
type: number
format: float
description: 'Localized key: "DHA n-3" (en/fr). Unit: g'
omega-3:
type: number
format: float
description: 'Localized key: "Omega 3" (en/fr). Unit: g'
cholesterol:
type: number
format: float
description: 'Localized key: "Cholesterol" (en/fr). Unit: g'
glutenness:
type: number
format: float
description: 'Localized key: "Glutenness" (en/fr). Unit: glutenness'
additionalProperties: false
Recipe:
type: object
properties:
id:
type: string
example: 63485116b0ff720c5cb04bea
title:
type: string
example: My recipe title
ingredientQuantities:
type: array
items:
type: number
format: float
minimum: 0
description: Quantities of ingredients in the recipe
example:
- 0
- 0.2
- 0
- 0.3
- 0.1
- 0.4
image:
type: string
format: uri
nullable: true
description: URL of the recipe image
example: https://d1fy9tcev7dsal.cloudfront.net/opt_uploads/recipes/s512_bCSgz5HDkIf-qbRarw52I.webp
averageRating:
type: number
format: float
nullable: true
example: 4.5
numberOfRatings:
type: integer
example: 87
numberOfOrders:
type: integer
example: 150
numberOfComments:
type: integer
example: 5
nutritionalValuesPer100g:
$ref: '#/components/schemas/NutritionalValues'
required:
- id
- ingredientQuantities
- nutritionalValuesPer100g
ApiSuccessResponse:
type: object
properties:
success:
type: boolean
const: true
errors:
type: array
items:
$ref: '#/components/schemas/Error'
example: []
meta:
type: object
properties:
__response_format:
type: string
example: standard
required:
- __response_format
required:
- success
- errors
- meta
Error:
type: object
properties:
message:
type: string
error_code:
type: integer
format: int32
required:
- message
- error_code
ApiErrorResponse:
type: object
properties:
success:
type: boolean
const: false
errors:
type: array
items:
$ref: '#/components/schemas/Error'
minItems: 1
meta:
type: object
properties:
__response_format:
type: string
example: standard
required:
- __response_format
required:
- success
- errors
- meta
securitySchemes:
ApiKeyAuth:
type: apiKey
in: query
name: api_key
description: 'API key for authentication. Obtain from: https://symphony.fr/en/my-account/account/api-keys
Include as ''api_key'' query parameter in all requests
'