Skip to main content

Get Forms

The Get Forms API allows you to retrieve a list of available forms in the system filtered by form type. This is typically used as a first step in the form submission workflow to identify which form templates are available for a customer to complete.

API Endpoint

GET {base_url}/ExtForm/forms

Request Format

This endpoint accepts a GET request with query parameters for filtering.

Request Headers

Authorization: Bearer {token}

Response Format

{
"statusCode": 200,
"messages": ["Processed successfully"],
"result": {
"count": 2,
"forms": [
{
"formId": "7ac9ab5e-4123-4456-b8c3-123456789012",
"formName": "Individual KYC Form"
},
{
"formId": "8bd0bc6f-5234-5567-c9d4-234567890123",
"formName": "Corporate KYC Form"
}
]
}
}

Response Fields

FieldDescription
countTotal number of forms returned
formsArray of form objects
forms[].formIdUnique identifier for the form
forms[].formNameDisplay name of the form

Example Usage

cURL Example

curl -X GET \
'{base_url}/ExtForm/forms' \
-H 'Authorization: Bearer your_token_here'

Error Handling

Status CodeDescriptionSolution
400Invalid request parameters
401UnauthorizedVerify your authentication token
403ForbiddenCheck that your account has permission to access forms
500Internal server errorContact support with the error details