Questionnaires
Questionnaires are documents sent to clients to gather information before or after sessions. They are based on questionnaire templates and can be associated with session types for automated sending.
Endpoints
List Questionnaires
Retrieve a list of all questionnaires.
GET /questionnaires/
Query Parameters
Parameter | Type | Description |
---|---|---|
expand | string | Include additional data. Use client to include client information. |
Example Request
curl -X GET "https://studio.pixieset.com/api/v1/questionnaires/?expand=client" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Example Response
{
"data": [
{
"id": "qu_QUE001ABC123DEF456GHI789JKL012",
"status": "pending",
"created_at": "2025-08-06T14:30:00.000000Z",
"updated_at": "2025-08-06T14:30:00.000000Z",
"due_date": "2025-08-13T23:59:59.000000Z",
"template": {
"id": "qt_QUE002ABC123DEF456GHI789JKL012",
"name": "Wedding Photography Questionnaire"
},
"client": {
"id": "cl_ABC123DEF456GHI789JKL012MNO345",
"first_name": "Jane",
"last_name": "Smith",
"email": "jane.smith@example.com"
}
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"per_page": 25,
"to": 1,
"total": 1
}
}
Get Questionnaire Details
Retrieve detailed information about a specific questionnaire.
GET /questionnaires/{questionnaire_id}
Path Parameters
Parameter | Type | Description |
---|---|---|
questionnaire_id | string | The unique questionnaire identifier (format: qu_ + 30 alphanumeric characters) |
Example Request
curl -X GET "https://studio.pixieset.com/api/v1/questionnaires/qu_QUE001ABC123DEF456GHI789JKL012" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Example Response
{
"data": {
"id": "qu_QUE001ABC123DEF456GHI789JKL012",
"status": "completed",
"created_at": "2025-08-06T14:30:00.000000Z",
"updated_at": "2025-08-07T09:15:00.000000Z",
"completed_at": "2025-08-07T09:15:00.000000Z",
"due_date": "2025-08-13T23:59:59.000000Z",
"template": {
"id": "qt_QUE002ABC123DEF456GHI789JKL012",
"name": "Wedding Photography Questionnaire",
"description": "Comprehensive questionnaire for wedding photography clients"
},
"client": {
"id": "cl_ABC123DEF456GHI789JKL012MNO345",
"first_name": "Jane",
"last_name": "Smith",
"email": "jane.smith@example.com",
"phone": "+1 (555) 123-4567"
},
"responses": [
{
"field_name": "wedding_date",
"field_label": "Wedding Date",
"response": "2025-09-15"
},
{
"field_name": "venue_name",
"field_label": "Venue Name",
"response": "Grand Ballroom Hotel"
}
]
}
}
Questionnaire ID Format
Questionnaire IDs follow the format: qu_
followed by 30 alphanumeric characters.
Example: qu_QUE001ABC123DEF456GHI789JKL012
Common Query Parameters
expand Parameter
Use the expand
parameter to include additional related data in the response:
client
: Include detailed client informationtemplate
: Include questionnaire template detailsresponses
: Include all questionnaire responses (for detailed view)
Example:
GET /questionnaires/?expand=client
Questionnaire Status
Questionnaires can have the following statuses:
draft
: Questionnaire created but not yet sentpending
: Sent to client, awaiting completioncompleted
: Client has filled out and submitted the questionnaireexpired
: Questionnaire due date has passed without completion
Relationship with Templates
Questionnaires are instances of questionnaire templates. The template defines:
- Questions and field types
- Styling and branding
- Default due date settings
- Required vs optional fields
When a questionnaire is created from a template, it inherits the template's configuration but becomes an independent document that can be customized for the specific client.
Integration with Session Types
Questionnaires can be automatically associated with session types to streamline the booking process:
- Pre-session questionnaires: Automatically sent when a session is booked
- Post-session questionnaires: Sent after session completion for feedback
- Custom timing: Configure when questionnaires are sent relative to the session date
Best Practices
- Clear Due Dates: Set appropriate due dates to ensure clients complete questionnaires on time
- Template Reuse: Create reusable templates for different photography types (wedding, portrait, corporate)
- Client Communication: Use the expand parameter to get client details for personalized follow-ups
- Status Monitoring: Regularly check questionnaire status to follow up on pending submissions
Related Endpoints
- Questionnaire Templates - Manage reusable questionnaire templates
- Session Types - Configure automatic questionnaire sending
- Clients - Manage client information associated with questionnaires