> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Approve Member

> Approve a pending membership request

Sets a pending member's status to `"active"`. Requires the caller to be a moderator or admin.

## Path Parameters

<ParamField path="spaceId" type="string" required>
  UUID of the space.
</ParamField>

<ParamField path="memberId" type="string" required>
  UUID of the membership record to approve.
</ParamField>

## Response

<ResponseField name="message" type="string">
  Confirmation message.
</ResponseField>

<ResponseField name="membership" type="object">
  Updated membership with `id`, `status: "active"`, and `joinedAt`.
</ResponseField>

See also: [useApproveMember](/hooks/spaces/use-approve-member)
