Get consent status per provider for a partner user (uid).
uid
The response is reconstructed from partner mappings and consent webhook history.
cURL
curl --request GET \ --url https://link.emergedata.ai/consent/status/{uid} \ --header 'Authorization: Bearer <token>'
{ "sub": "psub_d4e5f6789012345678901234abcdef01", "client_id": "ck_live_123456789", "consents": [ { "provider": "google_data", "scopes": [ "https://www.googleapis.com/auth/dataportability.myactivity.search" ], "window": "fixed", "valid_until": "2026-08-11T09:10:11.000000+00:00", "status": "active", "issued_at": "2026-02-12T09:10:11.000000+00:00", "revoked_at": null }, { "provider": "gmail", "scopes": [ "https://www.googleapis.com/auth/gmail.readonly" ], "window": "fixed", "valid_until": "2026-08-11T09:10:11.000000+00:00", "status": "revoked", "issued_at": "2025-12-01T11:00:00.000000+00:00", "revoked_at": "2026-01-15T14:20:00.000000+00:00" } ] }
API token from the Control Room. Include as Authorization: Bearer <token>
Authorization: Bearer <token>
Successful Response
Consent state by provider for a partner user.
Show child attributes