We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db59016 commit 6e67783Copy full SHA for 6e67783
packages/sdk/src/server/index.ts
@@ -46,6 +46,16 @@ export type ConnectTokenCreateOpts = {
46
* An external user ID associated with the token.
47
*/
48
external_user_id: string;
49
+
50
+ /**
51
+ * The optional url to redirect the user to upon successful connection.
52
+ */
53
+ success_redirect_uri?: string;
54
55
56
+ * The optional url to redirect the user to upon failed connection.
57
58
+ error_redirect_uri?: string;
59
};
60
61
export type AppInfo = {
@@ -83,6 +93,10 @@ export type ConnectTokenResponse = {
83
93
* The expiration time of the token in ISO 8601 format.
84
94
85
95
expires_at: string;
96
97
+ * The Hosted Link URL
98
99
+ connect_link_url: string;
86
100
87
101
88
102
/**
0 commit comments