{"__v":1,"_id":"58a4e6610d456223004efc5d","category":{"__v":0,"_id":"57f53fb368a53b2000e03f0f","project":"5588b8a2f6c18d0d005bba03","version":"5588b8a2f6c18d0d005bba06","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-10-05T18:00:19.547Z","from_sync":false,"order":0,"slug":"api","title":"REST API"},"parentDoc":null,"project":"5588b8a2f6c18d0d005bba03","user":"5588b847f6c18d0d005bba01","version":{"__v":14,"_id":"5588b8a2f6c18d0d005bba06","project":"5588b8a2f6c18d0d005bba03","createdAt":"2015-06-23T01:38:42.696Z","releaseDate":"2015-06-23T01:38:42.696Z","categories":["5588b8a3f6c18d0d005bba07","5588e9689cfea70d00371df3","5588f5921163180d00b64704","561598b121e9110d0078025a","5616f1c9d170d00d00189306","5616f5c3a410c90d00c6121e","561803dcf8c9632100ac7592","563667280441020d0000e9eb","5642570d9417b40d00c0fcd3","57bf5f02efe0050e00d50bd5","57f53fb368a53b2000e03f0f","57f55187440418170086325a","582e3afa72fd270f0006926d","5841faa973967b0f004b4a2b"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-02-15T23:38:09.300Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl --header \"X-API-Token: <your token>\" https://api.mixmax.com/v1/teams/:id/members","language":"text","name":null}]},"results":{"codes":[{"name":"","code":"{\n  \"results\": [{\n      \"accepted\": true,\n      \"dateAccepted\": \"2016-11-02T21:13:41.296Z\",\n      \"dateInvited\": \"2016-11-02T21:13:41.296Z\",\n      \"role\": \"admin\",\n      \"userId\": \"TNonXrfCfvxEgoAvN\"\n    }, {\n      \"accepted\": true,\n      \"dateAccepted\": \"2016-11-02T21:27:02.485Z\",\n      \"dateInvited\": \"2016-11-02T21:13:41.330Z\",\n      \"role\": \"member\",\n      \"userId\": \"kZYPwDDiGPTfQDj5n\"\n    }, {\n      \"dateInvited\": \"2016-11-02T21:13:41.330Z\",\n      \"email\": \"hello:::at:::mixmax.com\",\n      \"role\": \"member\"\n    }]\n}\n","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"58a4e77789e3232300e5c52d","ref":"","in":"path","required":true,"desc":"The _id of the team.","default":"","type":"string","name":"id"}],"url":"/v1/teams/:id/members"},"isReference":true,"order":75,"body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Paging not supported\",\n  \"body\": \"Note that this API will always return ALL members and does not support paging\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Parameter\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Description\",\n    \"3-0\": \"email\",\n    \"3-1\": \"*String*\",\n    \"3-2\": \"If the member hasn't accepted the invite, this is their email address\",\n    \"5-0\": \"role\",\n    \"5-1\": \"*String*\",\n    \"5-2\": \"The role on the team. Either *admin* or *member*.\",\n    \"6-0\": \"created\",\n    \"6-1\": \"*Date*\",\n    \"6-2\": \"When the user was first invited\",\n    \"7-0\": \"dateInvited\",\n    \"7-1\": \"*Date*\",\n    \"7-2\": \"The last time the invite was sent\",\n    \"8-0\": \"dateAccepted\",\n    \"8-1\": \"*Date*\",\n    \"8-2\": \"The last time the invitation was altered (accepted/rejected/left/removed)\",\n    \"0-0\": \"userId\",\n    \"0-1\": \"*String*\",\n    \"0-2\": \"The user _id.\",\n    \"2-0\": \"removed\",\n    \"2-2\": \"Whether the user was removed or left voluntarily\",\n    \"2-1\": \"*Boolean*\",\n    \"1-0\": \"accepted\",\n    \"1-1\": \"*Boolean*\",\n    \"1-2\": \"Whether the invite has been accepted or rejected (this field doesn't exist if **pending**)\",\n    \"4-0\": \"inviteId\",\n    \"4-1\": \"*String*\",\n    \"4-2\": \"If a member hasn't accepted the invite, this is their invite id.\"\n  },\n  \"cols\": 3,\n  \"rows\": 9\n}\n[/block]","excerpt":"Get all the members of the specified team.","slug":"get-teams-id-members-coming-soon","type":"get","title":"/teams/:id/members (coming soon)"}

get/teams/:id/members (coming soon)

Get all the members of the specified team.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
string
The _id of the team.

Examples


Result Format


Documentation

[block:callout] { "type": "warning", "title": "Paging not supported", "body": "Note that this API will always return ALL members and does not support paging" } [/block] [block:parameters] { "data": { "h-0": "Parameter", "h-1": "Type", "h-2": "Description", "3-0": "email", "3-1": "*String*", "3-2": "If the member hasn't accepted the invite, this is their email address", "5-0": "role", "5-1": "*String*", "5-2": "The role on the team. Either *admin* or *member*.", "6-0": "created", "6-1": "*Date*", "6-2": "When the user was first invited", "7-0": "dateInvited", "7-1": "*Date*", "7-2": "The last time the invite was sent", "8-0": "dateAccepted", "8-1": "*Date*", "8-2": "The last time the invitation was altered (accepted/rejected/left/removed)", "0-0": "userId", "0-1": "*String*", "0-2": "The user _id.", "2-0": "removed", "2-2": "Whether the user was removed or left voluntarily", "2-1": "*Boolean*", "1-0": "accepted", "1-1": "*Boolean*", "1-2": "Whether the invite has been accepted or rejected (this field doesn't exist if **pending**)", "4-0": "inviteId", "4-1": "*String*", "4-2": "If a member hasn't accepted the invite, this is their invite id." }, "cols": 3, "rows": 9 } [/block]

User Information

Try It Out

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