Skip to content
Skip to Content
DevelopersAPI referenceLists

Put an item in a list

PUT
/v1/lists/{id}/items/{itemId}

Idempotent. The caller must own or edit the list (403 for a viewer) and the item must be the caller's own (404 otherwise, or when it was deleted). Read a list's items with GET /v1/lists/{id}/items.

Authorization

bearer
headerAuthorizationBearer <token>

A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.

Path Parameters

id*string
itemId*string

Response Body

The item is in the list

Example Request
curl -X PUT 'https://example.com/v1/lists/string/items/string'
Example Response
Empty