- Docs
- Api%2Freference%2Forganizations%2FCreateMember
Create an member
Invite a new member to join the organization. This endpoint allows organization owners and administrators to send invitations to potential members with specified roles and permissions. The invited member will receive notification of the invitation.
AuthorizationBearer <token>
In: header
Path Parameters
organizationId*string
Unique identifier of the organization
Request Body
application/json
member details
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api-testnet.dual.network/organizations/string/members" \ -H "Content-Type: application/json" \ -d '{ "email": "string", "role_name": "string" }'{
"id": "string"
}{
"code": 0,
"message": "string",
"details": {}
}{
"code": 0,
"message": "string",
"details": {}
}{
"code": 0,
"message": "string",
"details": {}
}