consents
Retrieve a consent
Changed onget/consents/{consent_id}
Request
- Base URLhttps://api.pscrpt.com/v1
- URLhttps://api.pscrpt.com/v1/consents/{consent_id}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://api.pscrpt.com/oauth/authorizeToken URL: https://api.pscrpt.com/oauth/token scopes: consent:read
Query parameters
expandstring[]
Headers
Postscript-Versionstring date
Example:2026-07-23
Overrides the key's pinned API revision for this request.
Response
The consent.
Example response
{
"data": {
"channel": "sms",
"consented_at": "2026-07-23T17:32:01.123456Z",
"identifier": {
"created_at": "2026-07-23T17:32:01.123456Z",
"type": "email",
"updated_at": "2026-07-23T17:32:01.123456Z",
"verified_at": "2026-07-23T17:32:01.123456Z"
},
"method": "checkout",
"updated_at": "2026-07-23T17:32:01.123456Z"
}
}Changes
- info
endpoint added
- info