Field Types Supported


👍

Tip: Constructing Request Bodies

A shortcut for creating a sample request body is to manually launch a workflow with test values in Ironclad. After the workflow launches, send a request to the Retrieve a Workflow endpoint to get the field IDs and properly formatted values under the attributes property.

📘

Supported Field Types

User dropdown fields, formula fields, and related records fields are currently not supported via API. Consider passing data into string fields or moving fields to an Internal Form for users to fill in after a workflow is launched.

Field Type

Sample Value

String

Note: Strings have a 32,000 character limit. Workflows will error at the archive step if it is exceeded.

"counterpartyName": "Acme LLC"

Address

Note: Addresses are validated.

  • Non-US addresses require (1) street (lines), (2) locality, and (3) country.
  • US addresses require (1) street (lines), (2) locality, (3) region, (4) postcode, and (5) country. US address validation is enforced if U.S.A., USA, United States, or United States of America are used as the country.
  • The lines array is limited to four street lines.

"custom03314b365999474aae2fd6fe41fd643e": {
    "lines":       "325 5th Street",
        "Suite 200"
    ],
  ,
    "locality": "San Francisco", 
    "region": "California",
    "postcode": "94107",
    "country": "USA"
}

Number

"customd40a3b08606d43eca25a45a5fa32fcc9": 35

Monetary Value

"customd35f2489f20b46aa89b981e0f0d99cc7": {
    "currency": "USD",
    "amount": 25.37
}

Date

"custome793ed5d6e1046989da91894f1da6019": "2021-05-11T17:16:53-07:00"

Duration
The duration value must include one or more units of time (years, months, weeks, or days).

"someDurationField": {
    "years": 1,
    "months": 2,
    "weeks": 3,
    "days": 4
}

Email

"someEmailField": "

[email protected]

"

Boolean

Note: The Yes/No field field in Workflow Designer is a boolean.


"someYesNoField": true

Single-Select (Same as String)

"someSingleSelectField": "Option A"

Multi-Select

"someMultiSelectField": [

  "Option A",
    "Option B"
]

Table

"someTable": [
    {
        "someTextFieldInTable": "Some Row 1 Text",
        "someNumberFieldInTable": 25,
        "someMultiSelectFieldInTable": A", "Option B"],
,
    },
    {
        "someTextFieldInTable": "Some Row 2 Text",
        "someNumberFieldInTable": 27,
        "someMultiSelectFieldInTable": B", "Option C"]
  
    }
]

File

Note: See Section 3.5 for full details on usage and requirements. Files can either be sent as (1) binaries directly in a multipart/form-data request or (2) publicly accessible URLs in a regular raw JSON request body. The two methods cannot be combined.

Option 1: Multipart/Form-Data Request
The value of the file property below is the request body part name that you plan to include the file's binary under. See Section 3.5.1 for more details.
"draft":   { "file": "someFirstFile" },
    { "file": "someSecondFile" }



Option 2: Publicly Accessible URLs
// The urls below are stubs. Please replace them with urls that point to your own files.

"draft":   {"url": "https://your.file.server.test/test-doc-1.docx"},
    {"url": "https://your.file.server.test/test-doc-2.docx" }




What’s Next

Learn more about the different properties used to launch a workflow or how to launch a workflow with external files.