{% extends "base.html" %} {% block content %} {% if not session['ds_user_name'] %}

PHP Launcher

Welcome to the DocuSign PHP examples using multiple OAuth flows (JWT and Authorization Code Grant).

{% endif %}

Welcome

This launcher both demonstrates use of the OAuth Authorization Code Grant and JWT flows and includes multiple usage examples for the DocuSign Rooms API.

{% if show_doc %}

Documentation on using OAuth Authorization Code Grant from a PHP application.

{% endif %}

Basic Rooms API Examples

1. Creating a room with data

This example demonstrates creating a DocuSign Room.

API methods used: Rooms::CreateRoom and Roles::GetRoles

2. Creating a room with a template

This example demonstrates creating a DocuSign Room using a predefined template.

API methods used: Rooms::CreateRoom, RoomTemplates::GetRoomTemplates and Roles::GetRoles

3. Exporting data from a room

This example demonstrates how to export rooms data from a DocuSign Room.

API methods used: Rooms::GetRooms and Rooms::GetRoomFieldData

4. Adding forms to a room

This example demonstrates how to attach forms to a Docusign Room.

API methods used: Rooms::GetRooms, Forms::GetFormLibraries, Forms::GetFormLibraryForms and Rooms::AddFormToRoom

5. Getting rooms with filters

This example demonstrates how to return rooms that have had their field data,
updated within the certain time period.

API method used: Rooms::GetRooms

6. Creating an external form fill session

This example demonstrates how to create an external form fill session.

API methods used: Rooms::GetRooms, Rooms::GetDocuments and Forms::CreateExternalFormFillSession

7. Creating a form group

This example demonstrates how to create a new form group with the name given in the name property of the request body.

API methods used: FormGroups::CreateFormGroup.

8. Grant office access to a form group

This example demonstrates how to assign an office to a form group for your DocuSign Rooms for Real Estate account. Granting office access to a form group will enable you to filter which form groups are available based on that office.

API methods used: FormGroups:GetFormGroups and Offices:GetOffices

9. Assign a form to a form group

This example demonstrates how to assign a form to a form group. As a prerequisite, ensure that you have created a form group and set the office ID on this form group before proceeding.

API methods used: FormGroups:GetFormGroups and FormLibraries::GetFormLibraryForms.

{% endblock %}