# Replace example resource IDs and ownerId with values from your workspace.
: "${POWERDIALER_API_KEY:?Set POWERDIALER_API_KEY to your scoped API key}"
curl --request GET \
--url 'https://api.migration.powerdialer.ai/api/public/v2/changes?limit=50' \
--header "Authorization: Bearer $POWERDIALER_API_KEY"{
"data": [
{
"sequence": "42",
"id": "00000000-0000-4000-8000-000000000002",
"orgId": "org_example",
"ownerId": "user_example",
"type": "call.completed",
"resourceType": "calls",
"resourceId": "call_example_789",
"data": {
"id": "call_example_789",
"callSid": "call_example_789",
"ownerId": "user_example",
"contactId": 123,
"callStatus": "Completed",
"disposition": {
"type": "Neutral",
"notes": "Call back next week",
"outcome": "Neutral",
"mappedDispositions": [
"Neutral"
]
},
"talkTimeSeconds": 42,
"createdAt": "2026-10-08T12:00:00.000Z",
"updatedAt": "2026-10-08T12:00:00.000Z"
},
"createdAt": "2026-10-08T12:00:00.000Z"
}
],
"nextCursor": "42",
"hasMore": false
}{
"error": {
"code": "invalid_api_key",
"message": "API key is invalid, expired or revoked",
"requestId": "00000000-0000-4000-8000-000000000004"
}
}Read resource changes
Recover missed notifications or keep a local resource inventory current. Requires changes:read plus each resource’s read scope: contacts:read, lists:read or calls:read. Events remain limited to the key’s workspace and permitted owners. New events contain immutable event-time snapshots (a documented subset for calls); deletes/access revocations use tombstones and historical ID-only events remain unchanged.
Start with after=0, then persist each returned nextCursor only after processing or durably queuing its page. Publication cursors are decimal strings; never convert them to JavaScript numbers. Late-committing changes receive later cursors. hasMore:false means no further currently published visible events; continue polling because more can appear. Empty pages retain the previous cursor.
400 invalid_request requires a valid decimal cursor and page size. An empty feed may reflect missing resource scopes. Capture gaps before the first key or while no active key exists require full resource enumeration; they cannot be replayed. No idempotency key is needed for this read.
See change-feed recovery.
# Replace example resource IDs and ownerId with values from your workspace.
: "${POWERDIALER_API_KEY:?Set POWERDIALER_API_KEY to your scoped API key}"
curl --request GET \
--url 'https://api.migration.powerdialer.ai/api/public/v2/changes?limit=50' \
--header "Authorization: Bearer $POWERDIALER_API_KEY"{
"data": [
{
"sequence": "42",
"id": "00000000-0000-4000-8000-000000000002",
"orgId": "org_example",
"ownerId": "user_example",
"type": "call.completed",
"resourceType": "calls",
"resourceId": "call_example_789",
"data": {
"id": "call_example_789",
"callSid": "call_example_789",
"ownerId": "user_example",
"contactId": 123,
"callStatus": "Completed",
"disposition": {
"type": "Neutral",
"notes": "Call back next week",
"outcome": "Neutral",
"mappedDispositions": [
"Neutral"
]
},
"talkTimeSeconds": 42,
"createdAt": "2026-10-08T12:00:00.000Z",
"updatedAt": "2026-10-08T12:00:00.000Z"
},
"createdAt": "2026-10-08T12:00:00.000Z"
}
],
"nextCursor": "42",
"hasMore": false
}{
"error": {
"code": "invalid_api_key",
"message": "API key is invalid, expired or revoked",
"requestId": "00000000-0000-4000-8000-000000000004"
}
}Authorizations
Query Parameters
Response
Published visible changes, a string cursor and whether another currently published page exists.