Session Replays
Set Replay Collection Assignments
Authorization
apiKeyAuth x-api-key<token>
FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
In: header
Path Parameters
idOrSlug*string
sessionId*string
windowId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v0/project/string/replays/string/string/collection-assignments" \ -H "Content-Type: application/json" \ -d '{ "collectionIds": [ "string" ] }'{
"sessionId": "string",
"windowId": "string",
"collectionIds": [
"string"
]
}{
"_tag": "SessionReplaysValidationError",
"message": "string"
}{
"_tag": "UnauthorizedError",
"message": "string"
}{
"_tag": "ForbiddenError",
"message": "string",
"code": "string"
}{
"_tag": "NotFoundError",
"message": "string"
}