# Submittable

> Work with Submittable submissions, projects, forms, labels and reviews.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/submittable

## Actions

### Apply label to submission

Apply label to submission.

**Inputs**

- Submission ID (`submission_id`, number, required): Submission id.
- Label (`label_id`, number, required): Label id.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {}
}
```

### Create label

Create label.

**Inputs**

- Name (`name`, text, required): Name.
- Css class ID (`css_class_id`, text): Css class id.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "backgroundColor": "example",
    "foregroundColor": "example",
    "isConcealed": true,
    "labelId": 1,
    "name": "example"
  }
}
```

### Delete label

Delete label.

**Inputs**

- Label (`label_id`, number, required): Label id.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {}
}
```

### Get form

Get form.

**Inputs**

- Form (`form_id`, text, required): Form id.

**Outputs**

- `data` (text): The response from Submittable.

**Example output**

```json
{
  "data": "example"
}
```

### Get form response

Get form response.

**Inputs**

- Form response ID (`form_response_id`, text, required): Form response id.

**Outputs**

- `data` (text): The response from Submittable.

**Example output**

```json
{
  "data": "example"
}
```

### Get fund

Get fund.

**Inputs**

- Fund (`fund_id`, text, required): Fund id.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "availableAmount": 1,
    "awardedAmount": 1,
    "createdAt": "example",
    "createdBy": "example",
    "description": "example",
    "fundId": "example",
    "fundName": "example",
    "paidAmount": 1,
    "totalAmount": 1
  }
}
```

### Get label

Get label.

**Inputs**

- Label (`label_id`, number, required): Label id.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "backgroundColor": "example",
    "foregroundColor": "example",
    "isConcealed": true,
    "labelId": 1,
    "name": "example"
  }
}
```

### Get project

Get project.

**Inputs**

- Project (`project_id`, text, required): Project id.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "blindLevel": "example",
    "concealPublicOrgInfo": true,
    "createdAt": "example",
    "createdByUserId": "example",
    "eligibilityFormId": "example",
    "enableOrganizationSearch": true,
    "enableUsBankAchPayment": true,
    "enableUsBankCheckPayment": true,
    "enableUsBankPrepaidCardPayment": true,
    "endsAt": "example",
    "endsAtUtc": "example",
    "guidelinesHtml": "example",
    "initialFormId": "example",
    "internalFormId": "example",
    "isArchived": true,
    "isHidden": true,
    "isLive": true,
    "name": "example",
    "organizationSearchByEIN": true,
    "organizationSearchByUEI": true,
    "projectId": "example",
    "requirePublicOrgId": true,
    "requireValidatedEmail": true,
    "reviewStages": [
      {
        "formId": "example",
        "isDeleted": true,
        "nextStageOnCompletedReviews": "example",
        "randomAssignmentCount": 1,
        "reviewStageId": "example",
        "reviewerUserIds": [
          "example"
        ],
        "stageName": "example",
        "stageOrder": 1,
        "type": "example",
        "userIds": [
          "example"
        ]
      }
    ],
    "shouldHideBlindFields": true,
    "startsAt": "example",
    "startsAtUtc": "example",
    "termsOfUse": "example",
    "usBankAchAccountIsIndividual": true,
    "usBankPrepaidCardDisclosureUrl": "example"
  }
}
```

### Get submission

Get submission.

**Inputs**

- Submission ID (`submission_id`, number, required): Submission id.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "formResponses": [
      "example"
    ],
    "isArchivedByOrganization": true,
    "isArchivedBySubmitter": true,
    "isPaid": true,
    "labels": [
      {
        "backgroundColor": "example",
        "foregroundColor": "example",
        "isConcealed": true,
        "labelId": 1,
        "name": "example"
      }
    ],
    "projectId": "example",
    "reviewStageId": "example",
    "submissionId": 1,
    "submissionStatus": "example",
    "submitterEmail": "example",
    "submitterFirstName": "example",
    "submitterId": "example",
    "submitterLastName": "example"
  }
}
```

### List form responses

List form responses.

**Inputs**

- Form (`form_id`, text, required): Form id.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "items": [
      "example"
    ],
    "page": 1,
    "pageSize": 1,
    "totalItems": 1,
    "totalPages": 1
  }
}
```

### List forms

List forms.

**Inputs**

- Type (`type`, text): Type. One of: `additional`, `initial`, `reference`, `review`, `internal`, `eligibility`, `request`.
- Project (`project_id`, text): Project id.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "formId": 1,
        "name": "example"
      }
    ],
    "page": 1,
    "pageSize": 1,
    "totalItems": 1,
    "totalPages": 1
  }
}
```

### List funds

List funds.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "availableAmount": 1,
        "awardedAmount": 1,
        "createdAt": "example",
        "createdBy": "example",
        "description": "example",
        "fundId": "example",
        "fundName": "example",
        "paidAmount": 1,
        "totalAmount": 1
      }
    ],
    "page": 1,
    "pageSize": 1,
    "totalItems": 1,
    "totalPages": 1
  }
}
```

### List labels

List labels.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "backgroundColor": "example",
        "foregroundColor": "example",
        "isConcealed": true,
        "labelId": 1,
        "name": "example"
      }
    ],
    "page": 1,
    "pageSize": 1,
    "totalItems": 1,
    "totalPages": 1
  }
}
```

### List projects

List projects.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "blindLevel": "example",
        "concealPublicOrgInfo": true,
        "createdAt": "example",
        "createdByUserId": "example",
        "eligibilityFormId": "example",
        "enableOrganizationSearch": true,
        "enableUsBankAchPayment": true,
        "enableUsBankCheckPayment": true,
        "enableUsBankPrepaidCardPayment": true,
        "endsAt": "example",
        "endsAtUtc": "example",
        "guidelinesHtml": "example",
        "initialFormId": "example",
        "internalFormId": "example",
        "isArchived": true,
        "isHidden": true,
        "isLive": true,
        "name": "example",
        "organizationSearchByEIN": true,
        "organizationSearchByUEI": true,
        "projectId": "example",
        "requirePublicOrgId": true,
        "requireValidatedEmail": true,
        "reviewStages": [
          {}
        ],
        "shouldHideBlindFields": true,
        "startsAt": "example",
        "startsAtUtc": "example",
        "termsOfUse": "example",
        "usBankAchAccountIsIndividual": true,
        "usBankPrepaidCardDisclosureUrl": "example"
      }
    ],
    "page": 1,
    "pageSize": 1,
    "totalItems": 1,
    "totalPages": 1
  }
}
```

### List submission history

List submission history.

**Inputs**

- Submission ID (`submission_id`, list): Submission id.
- Record user ID (`record_user_id`, list): Record user id.
- History type ID (`history_type_id`, list): History type id.
- Bulk action task ID (`bulk_action_task_id`, text): Bulk action task id.
- Page size (`page_size`, number): Page size. From 1 to 500.
- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "activityDateUtc": "example",
        "activityUserFirstName": "example",
        "activityUserId": "example",
        "activityUserLastName": "example",
        "bulkActionTaskId": "example",
        "changeDescription": "example",
        "changeReason": "example",
        "createdOnUtc": "example",
        "description": "example",
        "emailRecipients": "example",
        "entryVersionId": "example",
        "historyTypeId": 1,
        "replaceData": "example",
        "submissionId": 1,
        "submissionName": "example",
        "submitterName": "example"
      }
    ],
    "page": 1,
    "pageSize": 1,
    "totalItems": 1,
    "totalPages": 1
  }
}
```

### List submission reviews

List submission reviews.

**Inputs**

- Submission ID (`submission_id`, number, required): Submission id.
- Review stage ID (`review_stage_id`, text): Review stage id.

**Outputs**

- `data` (list): The response from Submittable.

**Example output**

```json
{
  "data": [
    {
      "completedAt": "example",
      "createdAt": "example",
      "deletedAt": "example",
      "formResponseId": "example",
      "isAssigned": true,
      "isCompleted": true,
      "isDeleted": true,
      "isOpenForEditing": true,
      "reviewResponseId": "example",
      "reviewStageId": "example",
      "reviewerId": "example",
      "score": 1,
      "submissionId": 1,
      "updatedAt": "example"
    }
  ]
}
```

### List submissions

List submissions.

**Inputs**

- Page size (`page_size`, number): Page size. From 1 to 500.
- Page (`page`, number): Page. At least 1.
- Search (`search`, text): Search.
- Reviewers (`reviewers`, list): Reviewers.
- Archived status (`archived_status`, text): Archived status. One of: `archived`, `notArchived`, `either`.
- Date from (`date_from`, date and time): Date from.
- Date to (`date_to`, date and time): Date to.
- Additional form statuses (`additional_form_statuses`, list): Additional form statuses. One or more of: `anyCompleted`, `allCompleted`, `noneCompleted`, `anyEditable`, `any`, `none`.
- Request form statuses (`request_form_statuses`, list): Request form statuses. One or more of: `anyReceived`, `anyInProgress`, `anyAccepted`, `anyDeclined`, `anyCompleted`, `any`, `none`.
- Review status (`review_status`, text): Review status. One of: `pending`, `completed`, `pendingOrCompleted`.
- Reviewer progress (`reviewer_progress`, text): Reviewer progress. One of: `pending`, `completed`, `pendingOrCompleted`.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "concealPublicOrgName": true,
        "isArchived": true,
        "isConcealed": true,
        "isInitialFormEntryEditable": true,
        "isPaid": true,
        "labels": [
          1
        ],
        "projectId": "example",
        "projectTitle": "example",
        "publicOrgId": "example",
        "publicOrgName": "example",
        "publicOrgVersion": 1,
        "reviewStageId": "example",
        "reviewers": [
          "example"
        ],
        "submissionDate": "example",
        "submissionId": 1,
        "submissionStatus": "example",
        "submissionTitle": "example",
        "submitterEmail": "example",
        "submitterFirstName": "example",
        "submitterId": "example",
        "submitterLastLoginDate": "example",
        "submitterLastName": "example"
      }
    ],
    "page": 1,
    "pageSize": 1,
    "totalItems": 1,
    "totalPages": 1
  }
}
```

### List team assignments

List team assignments.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Submittable.

**Example output**

```json
{
  "data": [
    {
      "assignmentCount": 1,
      "email": "example",
      "enabled": true,
      "name": {
        "first": "example",
        "full": "example",
        "last": "example"
      },
      "permissionLevel": "example",
      "title": "example",
      "userId": "example"
    }
  ]
}
```

### List team invites

List team invites.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Submittable.

**Example output**

```json
{
  "data": [
    {
      "code": "example",
      "email": "example",
      "inviteDate": "example",
      "permissionLevel": "example",
      "roles": [
        {
          "description": "example",
          "id": "example",
          "name": "example",
          "type": "example"
        }
      ],
      "teamInviteId": 1,
      "title": "example"
    }
  ]
}
```

### Remove label from submission

Remove label from submission.

**Inputs**

- Submission ID (`submission_id`, number, required): Submission id.
- Label (`label_id`, number, required): Label id.

**Outputs**

- `data` (object): The response from Submittable.

**Example output**

```json
{
  "data": {}
}
```
