Tài liệu tham khảo API

client-reports

Có 34 điểm cuối trong khu vực này. Mỗi điểm cuối có một trang riêng với các tham số, phản hồi và yêu cầu mà quý vị có thể thực hiện.

Tất cả tài liệu dành cho nhà phát triển →

Phương thứcĐường dẫnChức năngQuyền
GET/v1/client-reports/brandsYour report looks (white-label brands).sites.view
POST/v1/client-reports/brandsAdd a report look — your name, colours, intro and footer.sites.create
DELETE/v1/client-reports/brands/{brand_id}Remove a report look.sites.create
PATCH/v1/client-reports/brands/{brand_id}Change a report look.sites.create
DELETE/v1/client-reports/brands/{brand_id}/logoTake the logo off future reports.sites.create
POST/v1/client-reports/brands/{brand_id}/logoUpload the logo a report look carries.sites.create
POST/v1/client-reports/brands/{brand_id}/reply-to/codeE-mail a confirmation code to the look's reply-to address.sites.create
POST/v1/client-reports/brands/{brand_id}/reply-to/confirmConfirm the reply-to address with the code it received.sites.create
GET/v1/client-reports/clientsThe clients you make reports for, with their schedules.sites.view
POST/v1/client-reports/clientsAdd a client, the domains a report covers, who receives it and how often.sites.create
DELETE/v1/client-reports/clients/{client_id}Remove a client and its reports.sites.create
PATCH/v1/client-reports/clients/{client_id}Change a client or its schedule.sites.create
DELETE/v1/client-reports/clients/{client_id}/logoRemove the client's logo from future reports.sites.create
POST/v1/client-reports/clients/{client_id}/logoUpload the client's own logo, printed beside "Prepared for" on its reports.sites.create
GET/v1/client-reports/clients/{client_id}/portal-linksThe client's own page links, newest first.sites.view
POST/v1/client-reports/clients/{client_id}/portal-linksMake a link to the client's own page of reports, under the agency's brand.sites.create
DELETE/v1/client-reports/clients/{client_id}/portal-links/{link_id}End a client page link now.sites.create
POST/v1/client-reports/clients/{client_id}/reportsMake a report for this client now.sites.create
GET/v1/client-reports/overviewWhat your Client Reports plan allows, and which report sections have data.sites.view
GET/v1/client-reports/reportsReports made, newest first (100 at most).sites.view
GET/v1/client-reports/reports/{report_id}One report's state, headline figures and share link.sites.view
GET/v1/client-reports/reports/{report_id}/pdfDownload the report as a PDF.sites.view
GET/v1/client-reports/reports/{report_id}/previewThe report as the HTML page its PDF is made from.sites.view
POST/v1/client-reports/reports/{report_id}/revokeStop the report's share link working, now.sites.create
GET/v1/client-reports/sinksGoogle Sheets and Drive connections that receive clients' reports.sites.view
POST/v1/client-reports/sinksStart connecting a Google account to receive one client's reports.sites.create
GET/v1/client-reports/sinks/google/callbackWhere Google returns the browser after consent. Unauthenticated.Không có khóa API
DELETE/v1/client-reports/sinks/{sink_id}Stop copying reports there and forget the Google access.sites.create
POST/v1/client-reports/sinks/{sink_id}/syncCopy the client's latest report there now.sites.create
GET/v1/public/client-portal/{token}The client's own page of reports. Unauthenticated.Không có khóa API
GET/v1/public/client-portal/{token}/reports/{report_id}One of the client's reports, as a web page. Unauthenticated.Không có khóa API
GET/v1/public/client-portal/{token}/reports/{report_id}/pdfOne of the client's reports as a PDF. Unauthenticated.Không có khóa API
GET/v1/public/client-reports/{token}A shared report, as a web page. Unauthenticated.Không có khóa API
GET/v1/public/client-reports/{token}/pdfA shared report as a PDF. Unauthenticated.Không có khóa API