Skip to main content
GET
/
v1
/
proposals
/
{id}
/
views
List proposal views
curl --request GET \
  --url https://api.propal.io/v1/proposals/{id}/views \
  --header 'Authorization: Bearer <token>'
{
  "summary": {
    "total_views": 123,
    "first_viewed_at": "<string>",
    "last_viewed_at": "<string>",
    "average_scroll_depth": 123,
    "total_active_duration_seconds": 123
  },
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "started_at": "<string>",
      "ended_at": "<string>",
      "duration_seconds": 123,
      "scroll_depth": 123,
      "was_afk": true,
      "country": "<string>",
      "created_at": "<string>"
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "<string>",
    "total_count": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.propal.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key in format: pp_live_xxxxxxxxxxxxxxxxxxxxxxxx

Path Parameters

id
string<uuid>
required

Proposal UUID

Query Parameters

limit
string
default:25
after
string

Response

Proposal views with summary

summary
object
required
data
object[]
required
pagination
object
required