List Themes
GET/themes
Retrieves a paginated list of all themes created for the account
Request
Query Parameters
Default value: 50
GET /themes parameter
Default value: 1
GET /themes parameter
Possible values: [desc
, asc
]
GET /themes parameter
Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2}(\.\d+)?)?Z?$
YYYY-MM-DDTHH:mm:ss.sssZ
Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2}(\.\d+)?)?Z?$
YYYY-MM-DDTHH:mm:ss.sssZ
The lookup key of the themes to return
Responses
- 200
- 400
GET /themes Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Possible values: [1.0
]
The version of the response schema
Possible values: [paginated_list
]
A paginated list of the theme resource.
Possible values: [theme
]
Data contains the theme resource.
data object[]required
The resource data
The unique identifier of the theme
Possible values: [theme
]
logo objectrequired
The logo of the theme. This is displayed to the user in all communication and touch points.
Possible values: [1.0
]
The version of the response schema
Possible values: [single
]
A single object of the file resource.
Possible values: [file
]
Data contains the file resource.
data objectrequired
The resource data.
The unique identifier of the file
Possible values: [file
]
Possible values: non-empty
The complete filename including the file extension
Possible values: non-empty
The mime type of the file
The signed read url of the file
metadata object
A provided lookup key provided by you to help you identify the file.
UTC datetime ISO string
UTC datetime ISO string
icon objectrequired
The icon of the theme. This is used for the favicon.
Possible values: [1.0
]
The version of the response schema
Possible values: [single
]
A single object of the file resource.
Possible values: [file
]
Data contains the file resource.
data objectrequired
The resource data.
The unique identifier of the file
Possible values: [file
]
Possible values: non-empty
The complete filename including the file extension
Possible values: non-empty
The mime type of the file
The signed read url of the file
metadata object
A provided lookup key provided by you to help you identify the file.
UTC datetime ISO string
UTC datetime ISO string
Default value: #000000
The primary color used to create the color palette in the signing room.
metadata object
A provided lookup key provided by you to help you identify the theme.
UTC datetime ISO string
UTC datetime ISO string
pagination objectrequired
Contains the pagination meta data
Possible values: <= 9007199254740991
The maximum number of items per page
Possible values: <= 9007199254740991
The total number of pages
Possible values: <= 9007199254740991
The current page number
Possible values: <= 9007199254740991
The total number of results
{
"version": "1.0",
"result_type": "paginated_list",
"resource_type": "theme",
"data": [
{
"id": "cqztbapr1qfgric9izbexample",
"resource_type": "theme",
"logo": {
"version": "1.0",
"result_type": "single",
"resource_type": "file",
"data": {
"id": "cdypzghb8xpdp4c6kgvexample",
"resource_type": "file",
"filename": "my-file.pdf",
"mime_type": "application/pdf",
"url": "https://zigned.se",
"metadata": {
"lookup_key": "file_tag"
},
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}
},
"icon": {
"version": "1.0",
"result_type": "single",
"resource_type": "file",
"data": {
"id": "cdypzghb8xpdp4c6kgvexample",
"resource_type": "file",
"filename": "my-file.pdf",
"mime_type": "application/pdf",
"url": "https://zigned.se",
"metadata": {
"lookup_key": "file_tag"
},
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}
},
"primary_color": "#000000",
"metadata": {
"lookup_key": "your_internal_customer_id"
},
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}
],
"pagination": {
"limit": 100,
"total_pages": 10,
"page": 1,
"total_results": 1000
}
}
GET /themes Error response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [error
]
error objectrequired
Possible values: >= 400
and <= 599
{
"status": "error",
"error": {
"code": 0,
"message": "string",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}