Analytics
Get ai employee revenue history
Read revenue attributed to AI over the requested dates and creator filters.
GET
/v1/agencies/{agencyId}/analytics/ai-employee-revenueRead revenue attributed to AI over the requested dates and creator filters.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
agencyId*string
Length
1 <= lengthQuery Parameters
creatorId*string
startDate*string
endDate*string
page?number
Range
1 <= valueDefault
1limit?number
Range
1 <= value <= 100Default
10type?string
Default
"all"Value in
- "all"
- "ppv"
- "tip"
paid?string
Default
"all"Value in
- "all"
- "paid"
- "unpaid"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/agencies/string/analytics/ai-employee-revenue?creatorId=string&startDate=string&endDate=string" \ -H "Authorization: Bearer YOUR_API_KEY"{ "data": { "items": [ { "id": "string", "type": "tip", "amount": 0, "isPaid": true, "content": null, "fanId": "string", "fanName": "string", "fanUsername": "string", "creatorId": "string", "creatorName": "string", "createdAt": "2019-08-24T14:15:22Z", "mediaCount": null } ], "total": 0, "totalPages": 0, "currentPage": 0 }, "meta": { "requestId": "string" }}