Skip to main content
Groups in folk can contain any object type you define. Deals is the default object type, but you can create your own custom objects — Projects, Applications, Properties, and so on. Every object type shares the same API: list, create, get, update, and delete under /v1/groups/{groupId}/{objectType}.
The Deals endpoints and the ones below are the same operations. Deals is simply the most common value of the objectType path parameter.

Available endpoints

Find the object types of a group

The objectType path parameter is the name of the object type, exactly as it appears in the folk app (for example Deals, Projects, or Applications). The match is case-sensitive. To list the object types available in a group, call List group custom fields with person as the entity type. Every field returned with a type of objectField is an object type you can use, and its name is the value to pass as objectType.
In the response above, both Deals and Applications can be used as objectType.
If the object type does not exist in the group, the API returns a 404 Not Found response whose message lists the entity types available in that group.

Shared fields

Whatever the object type, every object has the same native fields:
  • name: The name of the object.
  • people: A list of people associated with the object.
  • companies: A list of companies associated with the object.
  • createdAt: The date and time the object was created.
  • createdBy: The user who created the object.
Everything else is a custom field, defined per object type in the group, and read or written through customFieldValues.

Custom fields

Read more about custom fields