Knock Actions

Approve a knock request

post
/memberships/knocks/{knockId}/approve

Approves a pending knock request and creates the corresponding membership

Path parameters
knockIdstring · uuidRequired

Unique ID of the knock to approve

Example: knock123-def6-7890-abcd-ef1234567890
Body
approvalMessagestringOptional

Optional message for the approval

Example: Welcome to the team! We're excited to have you.
customRolestringOptional

Override the requested role (optional)

Example: member
customPermissionsstring[]Optional

Override the requested permissions (optional)

Example: ["read","write"]
Responses
200

Knock approved successfully

application/json
post
/memberships/knocks/{knockId}/approve

Reject a knock request

post
/memberships/knocks/{knockId}/reject

Rejects a pending knock request

Path parameters
knockIdstring · uuidRequired

Unique ID of the knock to reject

Example: knock123-def6-7890-abcd-ef1234567890
Body
rejectionReasonstringOptional

Reason for rejecting the knock request

Example: We are not hiring at this time
rejectionMessagestringOptional

Optional message for the rejection

Example: Thank you for your interest. We'll keep your information for future opportunities.
Responses
200

Knock rejected successfully

application/json
post
/memberships/knocks/{knockId}/reject

Last updated