Model Notes
API key passed in the Authorization header. Format: <api-key>
Filter results by user_id.
Filter results by my_notes.
Filter results by model_type.
Filter results by model_id.
Comma-separated list of relationships to include. Available: flowStep, user
Sort field. Prefix with - for descending. Available: id, created_at
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/model-notes HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 1,
"note": "example_note",
"private": "example_private",
"patchworks_only": "example_patchworks_only",
"model_type": "example_model_type",
"model_id": 1,
"colour": "blue",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"user_id": 1,
"flow_step": {},
"user": {}
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.example.com/api/v1/model-notes",
"per_page": 25,
"to": 1,
"total": 1
},
"links": {
"first": "https://api.example.com/api/v1/model-notes?page=1",
"last": "https://api.example.com/api/v1/model-notes?page=1",
"prev": null,
"next": null
}
}API key passed in the Authorization header. Format: <api-key>
Successful response
Unauthenticated
Unauthorized
Validation Error
POST /api/v1/model-notes HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 158
{
"note": "example_note",
"private": "example_private",
"patchworks_only": "example_patchworks_only",
"model_type": "example_model_type",
"model_id": 1,
"colour": "blue"
}{
"data": {
"id": 1,
"note": "example_note",
"private": "example_private",
"patchworks_only": "example_patchworks_only",
"model_type": "example_model_type",
"model_id": 1,
"colour": "blue",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"user_id": 1,
"flow_step": {},
"user": {}
}
}API key passed in the Authorization header. Format: <api-key>
The model note identifier.
Filter results by user_id.
Filter results by my_notes.
Filter results by model_type.
Filter results by model_id.
Comma-separated list of relationships to include. Available: flowStep, user
Sort field. Prefix with - for descending. Available: id, created_at
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/model-notes/{model_note} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": 1,
"note": "example_note",
"private": "example_private",
"patchworks_only": "example_patchworks_only",
"model_type": "example_model_type",
"model_id": 1,
"colour": "blue",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"user_id": 1,
"flow_step": {},
"user": {}
}
}API key passed in the Authorization header. Format: <api-key>
The model note identifier.
Successful response
Unauthenticated
Unauthorized
Validation Error
PUT /api/v1/model-notes/{model_note} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 111
{
"note": "example_note",
"private": "example_private",
"patchworks_only": "example_patchworks_only",
"colour": "blue"
}{
"data": {
"id": 1,
"note": "example_note",
"private": "example_private",
"patchworks_only": "example_patchworks_only",
"model_type": "example_model_type",
"model_id": 1,
"colour": "blue",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"user_id": 1,
"flow_step": {},
"user": {}
}
}API key passed in the Authorization header. Format: <api-key>
The model note identifier.
Successful response
Unauthenticated
Unauthorized
DELETE /api/v1/model-notes/{model_note} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"message": "Action completed successfully."
}Last updated
Was this helpful?