On this page

8 endpoints.

MethodPathSummary
GET/api/communities/{communityId}/join-requests/apply/formWhat a visitor sees on the join tab — the PUBLISHED description and, when the plan and the admin allow, the form
GET/api/communities/{communityId}/join-requests/apply/meThe signed-in person's application state here — verified, membership, latest request, draft, whether they can apply
POST/api/communities/{communityId}/join-requests/apply/me/attachmentsUpload one file for a document requirement of the published form (?documentId=…; multipart field file)
DELETE/api/communities/{communityId}/join-requests/apply/me/attachments/{attachmentId}Remove a file from the signed-in applicant's draft
PUT/api/communities/{communityId}/join-requests/apply/me/draftAutosave the application draft (details, answers, step)
POST/api/communities/{communityId}/join-requests/apply/me/submitSubmit the application (details, answers, acceptedTerms, formVersion)
POST/api/communities/{communityId}/join-requests/apply/me/withdrawWithdraw the signed-in person's request while it is under review
POST/api/communities/{communityId}/join-requests/apply/verify-emailFinish the sign-up from the emailed link — the link holder types name, phone and password; creates the account (verified) and signs them in

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
communityIdpathyesstring—

Responses

StatusDescriptionBody
200description, postSubmitMessage, form (null = the plain form), version—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
communityIdpathyesstring—

Responses

StatusDescriptionBody
200ApplicantState—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
communityIdpathyesstring—

Responses

StatusDescriptionBody
201The stored file (id, documentId, originalName, mimeType, sizeBytes)—
400JOIN_DOCUMENT_FILE_MISSING / JOIN_DOCUMENT_UNKNOWN / JOIN_DOCUMENT_TYPE_NOT_ALLOWED / JOIN_DOCUMENT_UPLOAD_INVALID—
409JOIN_DOCUMENT_TOO_MANY_FILES / JOIN_REQUEST_ALREADY_PENDING / ALREADY_A_COMMUNITY_MEMBER—
413JOIN_DOCUMENT_TOO_LARGE—
507JOIN_DOCUMENT_STORAGE_FULL—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
communityIdpathyesstring—
attachmentIdpathyesstring—

Responses

StatusDescriptionBody
204Removed—
404JOIN_DOCUMENT_NOT_FOUND—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
communityIdpathyesstring—

Responses

StatusDescriptionBody
200ApplicantState—
400JOIN_ANSWER_INVALID with field answers.—
409ALREADY_A_COMMUNITY_MEMBER / JOIN_REQUEST_ALREADY_PENDING—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
communityIdpathyesstring—

Responses

StatusDescriptionBody
200ApplicantState with the PENDING request—
400JOIN_FORM_REQUIRED_ANSWER_MISSING / JOIN_FORM_REQUIRED_DOCUMENT_MISSING (ids), JOIN_ANSWER_INVALID (field), TERMS_ACCEPTANCE_REQUIRED, JOIN_REQUEST_* input codes—
403EMAIL_NOT_VERIFIED / JOIN_REQUEST_MEMBER_BANNED—
409JOIN_REQUEST_ALREADY_PENDING / ALREADY_A_COMMUNITY_MEMBER / JOIN_REQUEST_COOLDOWN_ACTIVE (reapplyAfter) / JOIN_FORM_VERSION_CHANGED—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
communityIdpathyesstring—

Responses

StatusDescriptionBody
200ApplicantState—
404JOIN_REQUEST_NOT_FOUND — nothing under review—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
communityIdpathyesstring—

Responses

StatusDescriptionBody
200token, refreshToken, user—
400VERIFY_TOKEN_INVALID / VERIFY_TOKEN_EXPIRED; JOIN_REQUEST_* field codes or APPLICANT_PASSWORD_INVALID (these do not use up the link)—
409ACCOUNT_EXISTS_SIGN_IN — an account was created for this address meanwhile—