TypeformClient
Attributes
TRIGGER_OPERATIONS
module-attribute
TRIGGER_OPERATIONS: Dict[str, Dict[str, Any]] = {'NewResponseWebhook_V2': {'operation_id': 'NewResponseWebhook_V2', 'path': '/{connectionId}/v2/forms/{form_id}/webhooks/{tag}', 'method': 'post', 'required_parameters': ['form_id', 'tag', 'body'], 'callback_payload_type': 'WebhookCreationResponse'}}
Classes
NewResponseWebhookInput
dataclass
WebhookCreationResponse
dataclass
WebhookCreationResponse(id: Optional[str] = None, form_id: Optional[str] = None, tag: Optional[str] = None, url: Optional[str] = None, enabled: Optional[bool] = None, created_at: Optional[str] = None, updated_at: Optional[str] = None)
Response for When a response is submitted
Attributes
tag
class-attribute
instance-attribute
Unique name you want to use for the webhook
enabled
class-attribute
instance-attribute
True if you want to send responses to the webhook immediately. Otherwise, false.
created_at
class-attribute
instance-attribute
Date and time when webhook was created. In ISO 8601 format, UTC time, to the second, with T as a delimiter between the date and time.
ListFormsResponse
dataclass
ListFormsResponse(total_items: Optional[int] = None, page_count: Optional[int] = None, items: Optional[List[Dict[str, Any]]] = None)
Response for List forms
Attributes
total_items
class-attribute
instance-attribute
Total number of forms.
page_count
class-attribute
instance-attribute
Number of pages of results.
ResponseList
dataclass
Definition: ResponseList
WebhookPayload
dataclass
WebhookPayload(event_id: Optional[str] = None, event_type: Optional[str] = None, form_response: Optional[Dict[str, Any]] = None)
Definition: WebhookPayload
Attributes
event_id
class-attribute
instance-attribute
Unique ID for the webhook. Automatically assigned by Typeform.
event_type
class-attribute
instance-attribute
Reason the webhook is being sent.
TypeformClient
TypeformClient(connection_runtime_url: str, token_provider: Optional[TokenProvider] = None, options: Optional[ConnectorClientOptions] = None)
Bases: ConnectorClientBase
Typed client for typeform connector.
Initialize a TypeformClient.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
connection_runtime_url
|
str
|
The connection runtime URL from Azure Portal. |
required |
token_provider
|
Optional[TokenProvider]
|
Optional token provider. Defaults to ManagedIdentityTokenProvider. |
None
|
options
|
Optional[ConnectorClientOptions]
|
Optional connector client options. |
None
|
Methods:
list_forms_async
async
list_forms_async(search: Optional[str] = None, page: Optional[int] = None, page_size: Optional[int] = None, workspace_id: Optional[str] = None) -> dict[str, Any] | None
List forms
Retrieves a list of JSON descriptions for all forms in your Typeform account (public and private).