Access
PreviewAsk to join an organization
Only for an organization that verified the domain of the caller's verified email. Its Owners see the
POST
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
application/json- body
organizationId*stringLength
length <= 128The request.
application/json- response
id*stringFormat
uuiduserId?stringLeft out for a request forwarded for someone with no account yet. Approving it sends an invitation to the email instead of adding a member.
note?stringWhat the person wrote on the request form, for a forwarded request.
name*stringemail*stringavatarUrl?stringsource*JoinRequestSourcesuggested: from the Welcome page after sign-up. request-access: from the hosted request form.
admin-forward: forwarded by Wardn Admin for someone with no account yet.
Value in
"suggested""request-access""admin-forward"requestedAt*stringFormat
date-timecurl -X POST 'https://wardn.example.com/api/v1/me/join-requests' \ -H 'Content-Type: application/json' \ -d '{ "organizationId": "string"}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "userId": "string", "note": "string", "name": "string", "email": "string", "avatarUrl": "string", "source": "suggested", "requestedAt": "2019-08-24T14:15:22Z"}