Accept a team invite
POST
/nonprofits/invite/{token}/accept
Joins with the invite's role and title; On page as chosen, else on for owner/admin/fundraiser/viewer and off for member. One of the person's VERIFIED emails must equal the invited address. Publishes org.invite_accepted and emails the inviter.
Authorizations
BearerAuth
In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.
Type
HTTP (bearer)
Parameters
Path Parameters
token*
The invite token from the email.
Type
Requiredstring
Request Body
application/json
JSON
{
"show_on_page": true
}
Responses
OK
application/json
JSON
{
"slug": "string"
}