Skip to main content

Create activity log

Create activity log. Requires Authorization: Bearer with a Better Auth session token.
1 min read
post/activities/profiles/{studioId}/{activityId}/logs
Request example
Response
post/activities/profiles/{studioId}/{activityId}/logs

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Identifier or key studioId.
activityIdstringrequired#
Identifier or key activityId.

Body

application/json
dateMsintegerrequired#
completedboolean#
canceledboolean#
cancellationReasonstring#

Responses

application/json
Created.
dataobjectrequired#
Show child attributes
idstringrequired#
request_idstringrequired#