Skip to content

Invite Member

Ronen Nachmias edited this page Jul 12, 2017 · 6 revisions

Invite Member to my Organization

Usecase:

As an organization owner i want to invite new known user to my Organization. i am required to provide my Organization id and a known userId in the system.


Request:

POST /account/organization/members/invite
{
    "organizationId":"ORG-103521132189849432817",
    "userId":"103501112189849432817",
    "token":{
        "origin":"google",
	"token":<google_id_token>
    }
}

Response: Status: 200 OK

{"message":"Cannot complete request, target-organization or target-user was not found."}