GET

List Project Items


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of all project items in the specified project.

Permissions
Manage Portfolio
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/portfolio/v1/projectItems/{projectId}/items

Path Params
projectIdstringRequired

Project ID.

Query Params
paging.limitintegerminimum 0format int32

Number of items to load.


paging.offsetintegerminimum 0format int32

Number of items to skip in the current sort order.

Response Object
itemsArray <Item>

Project items.


pagingMetadataV2PagingMetadataV2deprecated

metadataMetadata

Paging metadata.

List Project Items
Request
cURL
curl -X GET \ 'https://www.wixapis.com/portfolio/v1/projectItems/123e4567-e89b-12d3-a456-426614174000/items' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \
Response
JSON
{ "items": [ { "id": "456e7890-e89b-12d3-a456-426614174001", "projectId": "123e4567-e89b-12d3-a456-426614174000", "title": "Item Title 1", "description": "This is item description 1.", "sortOrder": 1.0, "type": "IMAGE", "image": { "imageInfo": { "url": "https://example.com/image1.jpg", "id": "4889bbcc7fb-66b77-888aaf-3c45227f" } }, "createdDate": "2024-07-31T12:00:00Z", "updatedDate": "2024-07-31T12:00:00Z", "link": { "text": "Visit Site 1", "url": "https://example.com", "target": "_blank" } }, { "id": "456e7890-e89b-12d3-a456-426614174002", "projectId": "123e4567-e89b-12d3-a456-426614174000", "title": "Item Title 2", "description": "This is item description 2.", "sortOrder": 2.0, "type": "VIDEO", "video": { "videoInfo": { "url": "https://example.com/video3.mp4", "id": "4ee89bbcc7fb-69b77-888aaf-3c4522eec" } }, "createdDate": "2024-07-31T12:10:00Z", "updatedDate": "2024-07-31T12:10:00Z", "link": { "text": "Visit Site 2", "url": "https://example2.com", "target": "_self" } } ], "metadata": { "count": 2, "offset": 0, "total": 2, "tooManyToCount": false, "cursors": { "next": "next_cursor", "prev": "prev_cursor" } } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?