Browse Documentation
POST Create team member

CREATE NEW TEAM MEMBER

POST /team_members

Parameters

  Parameter
  Type
 Description
firstName | required
  String
First Name of the Member
lastName | required
  String
Last Name of the Member
email | required
 String
Email Address of the Member


REQUEST

    
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XPOST \
-d '{
      "user": {
      "email":"[email protected]",
      "firstName":"Mem",
      "lastName":"Ber"
      }
    }
' \
https://dev.accounteer.com/api/v0.1/team_members/
    

Response

{
    {
       "team_members": [
       {
         "id": "394eaa52ffc929cf283786bf61eaeb8335d1e6b8",
         "firstName": "Mem",
         "lastName": "Ber",
         "fullName": "Mem Ber",
         "email": "[email protected]",
         "enabled": true,
         "role": "Owner",
         "accessOffer": "Edit",
         "accessInvoice": "Approve",
         "accessPurchase": "Approve",
         "accessAccounting": "Edit"
     }]
}