APIPortal
Get the customer portal view for a contact
Returns the requests a contact sees in their support portal, looked up by email. Requires the Scale plan and the portal:read scope.
GET
/portal/customer-portalcurl -X GET "https://productlane.com/api/v2/portal/customer-portal?email=jane%40example.com" \
-H "Authorization: Bearer $PRODUCTLANE_API_KEY"Authorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <token>, where<token>is your auth token.
Parameters
emailstring<email>queryrequired
Response
application/json
Successful response
requestsany[]requiredopen_countintegerrequired
{
"requests": [
{
"type": "issue",
"feedback_id": "string",
"contact": {
"id": "string",
"email": "string",
"name": "string",
"image_url": "string"
},
"company": {
"id": "string",
"name": "string",
"logo_url": "string"
},
"origin": "string",
"category": "completed",
"updated_at": "string",
"created_at": "string",
"item": {
"id": "string",
"title": "string",
"description": "string",
"public_description": "string",
"public_title": "string",
"status": "string",
"status_color": "string",
"status_name": "string",
"created_at": "string",
"due_date": "string",
"due_date_raw": "string",
"due_date_resolution": "string",
"last_message": "string",
"live_chat_session_id": "string"
}
}
],
"open_count": 0
}