v1

latestOpenAPI 3.0.12026-08-0621301.7 MB
OrganizationFields

Add a new organization field

Adds a new organization field. For more information, see the tutorial for <a href="https://pipedrive.readme.io/docs/adding-a-new-custom-field" target="_blank" rel="noopener noreferrer">adding a new custom field</a>.

post/organizationFields

Request body

namestring required

The name of the field

optionsobject[]

When field_type is either set or enum, possible options must be supplied as a JSON-encoded sequential array of objects. Example: [{"label":"New Item"}]

add_visible_flagboolean

Whether the field is available in the 'add new' modal or not (both in the web and mobile app)

field_type'address' | 'date' | 'daterange' | 'double' | 'enum' | 'monetary' | 'org' | 'people' | 'phone' | 'set' | 'text' | 'time' | 'timerange' | 'user' | 'varchar' | 'varchar_auto' | 'visible_to' required

The type of the field<table><tr><th>Value</th><th>Description</th></tr><tr><td>address</td><td>Address field</td></tr><tr><td>date</td><td>Date (format YYYY-MM-DD)</td></tr><tr><td>daterange</td><td>Date-range field (has a start date and end date value, both YYYY-MM-DD)</td></tr><tr><td>double</td><td>Numeric value</td></tr><tr><td>enum</td><td>Options field with a single possible chosen option</td></tr><tr></tr><tr><td>monetary</td><td>Monetary field (has a numeric value and a currency value)</td></tr><tr><td>org</td><td>Organization field (contains an organization ID which is stored on the same account)</td></tr><tr><td>people</td><td>Person field (contains a person ID which is stored on the same account)</td></tr><tr><td>phone</td><td>Phone field (up to 255 numbers and/or characters)</td></tr><tr><td>set</td><td>Options field with a possibility of having multiple chosen options</td></tr><tr><td>text</td><td>Long text (up to 65k characters)</td></tr><tr><td>time</td><td>Time field (format HH:MM:SS)</td></tr><tr><td>timerange</td><td>Time-range field (has a start time and end time value, both HH:MM:SS)</td></tr><tr><td>user</td><td>User field (contains a user ID of another Pipedrive user)</td></tr><tr><td>varchar</td><td>Text (up to 255 characters)</td></tr><tr><td>varchar_auto</td><td>Autocomplete text (up to 255 characters)</td></tr><tr><td>visible_to</td><td>System field that keeps item's visibility setting</td></tr></table>

Response

Success

successboolean

If the response is successful or not