profiles
Look up a profile
Changed onget/profiles/lookup
Request
- Base URLhttps://api.pscrpt.com/v1
- URLhttps://api.pscrpt.com/v1/profiles/lookup
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://api.pscrpt.com/oauth/authorizeToken URL: https://api.pscrpt.com/oauth/token scopes: profiles:read
Query parameters
emailstring email
Case-insensitive.
phonestring
International format (+15035550142); percent-encode the + as %2B.
external_idstring
profile_refstring
Example:p_Ab3x9
Case-sensitive property-scoped compact profile reference.
expandstring[]
Headers
Postscript-Versionstring date
Example:2026-07-23
Overrides the key's pinned API revision for this request.
Response
The profile.
Example response
{
"data": {
"consents": [
{
"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"
}
],
"created_at": "2026-07-23T17:32:01.123456Z",
"identifiers": [
{
"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"
}
],
"updated_at": "2026-07-23T17:32:01.123456Z"
}
}Changes
- info
added the enum value
consentsto the propertyitems/of thequeryrequest parameterexpand - info
added the optional property
/to the response with the status
- info
- breaking
removed the required property
//from the response with the status - info
removed
subschema #1from the/response propertyallOflist for the response status - info
the response property
//became required for the status
- breaking