Optional fields

The Basecone API supports optional fields when retrieving a resource.

By default a resource will only return their non-optional fields when requested from our Api. When you need to include one or more of the documented optional fields you can use the fields parameter.

GET document/:id?fields=company,user

The response will now include the standard non-optional fields and the optional fields company and user.