{"_id":"5866b5bf51275e2500ae9114","version":{"_id":"5435693035740020002a1c1f","__v":15,"project":"5435693035740020002a1c1c","createdAt":"2014-10-08T16:41:20.702Z","releaseDate":"2014-10-08T16:41:20.702Z","categories":["5435693035740020002a1c20","551c03c1ff892b3700d1c57a","551ca3927405910d00900a59","551cac6448564a2f0024d89e","551cb4d848564a2f0024d8a3","551cb52db7a32b3b00d1ef78","5526e2064a7ac121004c6073","5526e5147d4a4417009516b3","5526e9877d4a4417009516bb","5528362cd9e1db2d00cd924d","5580240ebe698419008f2ba2","5580a7dabe698419008f2db6","568161799de23c0d00c54750","5866c905a2cbb31900f6f1aa","5bfc066d8342500013783e0c"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"githubsync":"","parentDoc":null,"project":"5435693035740020002a1c1c","user":"543568c135740020002a1c10","category":{"_id":"5526e5147d4a4417009516b3","__v":4,"pages":["5526e653e69c7d0d00047e5e","5526e78a4a7ac121004c6086","5526e88ee69c7d0d00047e64","5526e92a4a7ac121004c608f"],"project":"5435693035740020002a1c1c","version":"5435693035740020002a1c1f","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-04-09T20:46:12.252Z","from_sync":false,"order":4,"slug":"organizations","title":"Organizations"},"__v":1,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-12-30T19:30:07.940Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","examples":{"codes":[{"language":"http","code":"GET /v1.0/organizations/34/users HTTP/1.1\nHost: api.robinpowered.com\nContent-Type: application/json\nAuthorization: Access-Token :accessToken\n[\n  {\n\t  \"name\": \"Brian Muse\",\n\t  \"email\": \"example1:::at:::robinpowered.com\"\n  },\n  {\n\t  \"name\": \"Jake Struzik\",\n\t  \"email\": \"example2@robinpowered.com\"\n  }\n]\n"}]},"method":"post","results":{"codes":[{"status":201,"language":"json","code":"{\n  \"meta\": {\n    \"status_code\": 200,\n    \"status\": \"OK\",\n    \"message\": \"\",\n    \"more_info\": {}\n  },\n  \"data\": [\n    {\n      \"id\": 42,\n      \"name\": \"Brian Muse\",\n      \"slug\": \"\",\n      \"avatar\": \"\",\n      \"created_at\": \"2016-12-30T19:28:19+0000\",\n      \"updated_at\": \"2016-12-30T19:28:19+0000\",\n      \"primary_email\": {\n        \"email\": \"example1@robinpowered.com\",\n        \"is_verified\": false\n      },\n      \"is_pending\": true\n    },\n    {\n      \"id\": 43,\n      \"name\": \"Jake Struzik\",\n      \"slug\": \"\",\n      \"avatar\": \"\",\n      \"created_at\": \"2016-12-30T19:28:19+0000\",\n      \"updated_at\": \"2016-12-30T19:28:19+0000\",\n      \"primary_email\": {\n        \"email\": \"example2@robinpowered.com\",\n        \"is_verified\": false\n      },\n      \"is_pending\": true\n    }\n  ]\n}","name":""}]},"auth":"required","params":[{"_id":"5526eb367d4a4417009516c1","ref":"","in":"path","required":true,"desc":"The ID or slug of the organization","default":"","type":"mixed","name":"id"},{"_id":"5866b5eb3e21a72d0029a291","ref":"","in":"body","required":true,"desc":"The name of the user to invite","default":"","type":"string","name":"name"},{"_id":"5866b5eb3e21a72d0029a290","ref":"","in":"body","required":true,"desc":"The email of the user to invite.","default":"","type":"string","name":"email"}],"url":"/organizations/:id/users"},"isReference":true,"order":4,"body":"","excerpt":"Invites one or more new users to an organization","slug":"add-new-user-to-organization","type":"endpoint","title":"/organizations/:id/users"}

post/organizations/:id/users

Invites one or more new users to an organization

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
mixed
The ID or slug of the organization

Body Params

name:
required
string
The name of the user to invite
email:
required
string
The email of the user to invite.

Examples


Result Format


User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}