Pages API


Pages is where you receive files, documents and information using form fields

GET /pages

Retrieve the List of Pages of your account

   GET https://filerequestpro.com/api/pages/

Response

Returns an array with the list of pages

{
    "success": true,
    "data": [
        {
            "id": 1,
            "page_name": "VGS Global",
            "page_slug": "vgsglobal",
            "custom_domain": "https://test-uploads.vgsglobal.com",
            "page_title": "VGS Upload Page",
            "upload_instructions": "Just drop your file below.",
            "dropzone_label": null,
            "custom_fields": null,
            "hide_formfields": null,
            "hide_brand": null,
            "hide_background": null,
            "primary_background": "rgba(255,255,255,1)",
            "logo_image": "logos/uLra3H573ZqSlEapjXPNwsHCiMxmRCt9ahQnfugD.png",
            "custom_css": null,
            "access_code": null,
            "cloud_provider": "onedrive",
            "folder_path": "Customer_Name",
            "folder_id": "",
            "drive_id": "",
            "email_notification": "yes",
            "email_cc": "",
            "created_at": "2018-12-21 05:47:53",
            "updated_at": "2021-03-24 09:53:19",
            "deleted_at": null,
            "textcolor": "rgba(178,52,99,1)",
            "dropzone_background": "rgba(178,52,99,0.22)",
            "dropzone_border": "rgba(178,52,99,1)",
            "dropzone_text": "rgba(36,40,41,1)",
            "success_text": null,
            "error_text": null,
            "button_back": "rgba(9,174,34,1)",
            "button_text": "rgba(255,255,255,1)",
            "pipeline_mode": null,
            "button_label": null,
            "filetypes": null,
            "thankyou_subject": null,
            "thankyou_email": null,
            "thankyou_url": null,
            "save_form": 0,
            "private": null,
            "webhook_url": null,
            "webhook_signature": null,
            "public_page": "yes",
            "no_links": null,
            "request_due": null,
            "request_duedays": null,
            "request_duedate": null
        }
    ]
}

GET /pages/{id}

Get all the information of the Page linked to the provided ID.

   GET https://filerequestpro.com/api/pages/{page_id}

Response

Returns a JSON with the page fields and form fields attached to the page.

{
    "success": true,
    "data": {
        "id": 5179,
        "page_name": "TEST PR",
        "page_slug": "test-pr",
        "custom_domain": null,
        "page_title": null,
        "upload_instructions": "",
        "dropzone_label": null,
        "custom_fields": null,
        "hide_formfields": null,
        "hide_brand": null,
        "hide_background": null,
        "primary_background": null,
        "logo_image": null,
        "custom_css": null,
        "access_code": null,
        "cloud_provider": "email",
        "folder_path": null,
        "folder_id": null,
        "drive_id": null,
        "email_notification": "yes",
        "email_cc": null,
        "created_at": "2021-05-05 10:01:40",
        "updated_at": "2021-05-05 10:04:15",
        "deleted_at": null,
        "textcolor": null,
        "dropzone_background": null,
        "dropzone_border": null,
        "dropzone_text": null,
        "success_text": null,
        "error_text": null,
        "button_back": null,
        "button_text": null,
        "pipeline_mode": null,
        "button_label": null,
        "filetypes": null,
        "thankyou_subject": null,
        "thankyou_email": null,
        "thankyou_url": null,
        "save_form": 0,
        "private": null,
        "webhook_url": null,
        "webhook_signature": null,
        "public_page": "yes",
        "no_links": null,
        "request_due": "days_after",
        "request_duedays": 7,
        "request_duedate": null,
        "formfields": [
            {
                "id": 11190,
                "type": "Text",
                "label": "Name",
                "folder_path": null,
                "required": null,
                "created_at": "2021-05-05 10:01:40",
                "updated_at": "2021-05-05 10:01:40",
                "placeholder": null,
                "min": null,
                "max": null,
                "pattern": null,
                "fieldid": null,
                "options": null,
                "file_types": null,
                "file_size": null,
                "file_description": null,
                "prepend": null,
                "file_name": null
            },
            {
                "id": 11191,
                "type": "File Upload",
                "label": "File Upload",
                "folder_path": null,
                "required": null,
                "created_at": "2021-05-05 10:01:40",
                "updated_at": "2021-05-05 10:01:40",
                "placeholder": null,
                "min": null,
                "max": null,
                "pattern": null,
                "fieldid": null,
                "options": null,
                "file_types": null,
                "file_size": null,
                "file_description": "File upload 1",
                "prepend": null,
                "file_name": null
            }
        ]
    }
}