mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 00:49:42 -06:00
chore: added expirationDays param support in personal link api (#6578)
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
This commit is contained in:
committed by
GitHub
parent
fa1663d858
commit
1ced76c44d
@@ -2017,6 +2017,17 @@ paths:
|
||||
type: string
|
||||
description: The ID of the contact
|
||||
required: true
|
||||
- in: query
|
||||
name: expirationDays
|
||||
description: Number of days until the generated JWT expires. If not provided,
|
||||
there is no expiration.
|
||||
schema:
|
||||
type:
|
||||
- number
|
||||
- undefined
|
||||
minimum: 1
|
||||
description: Number of days until the generated JWT expires. If not provided,
|
||||
there is no expiration.
|
||||
responses:
|
||||
"200":
|
||||
description: Personalized survey link retrieved successfully.
|
||||
@@ -2031,6 +2042,11 @@ paths:
|
||||
surveyUrl:
|
||||
type: string
|
||||
format: uri
|
||||
expiresAt:
|
||||
type: string
|
||||
format: date-time
|
||||
nullable: true
|
||||
description: The date and time the link expires, null if no expiration
|
||||
required:
|
||||
- surveyUrl
|
||||
/surveys/{surveyId}/contact-links/segments/{segmentId}:
|
||||
|
||||
Reference in New Issue
Block a user