{"_id":"58a4e6610d456223004efc5d","project":"5588b8a2f6c18d0d005bba03","category":{"_id":"57f53fb368a53b2000e03f0f","version":"5588b8a2f6c18d0d005bba06","project":"5588b8a2f6c18d0d005bba03","__v":0,"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,"version":{"_id":"5588b8a2f6c18d0d005bba06","project":"5588b8a2f6c18d0d005bba03","__v":15,"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","58db348aa32c8419002433bb"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"__v":1,"user":"5588b847f6c18d0d005bba01","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}]},"method":"get","results":{"codes":[{"status":200,"name":"","code":"{\n  \"results\": [{\n      \"accepted\": true,\n      \"acceptedAt\": \"2016-11-02T21:13:41.296Z\",\n      \"invitedAt\": \"2016-11-02T21:13:41.296Z\",\n      \"role\": \"admin\",\n      \"memberId\" : \"58e56361a32875961468970f\",\n      \"userId\": \"TNonXrfCfvxEgoAvN\"\n    }, {\n      \"accepted\": true,\n      \"acceptedAt\": \"2016-11-02T21:27:02.485Z\",\n      \"invitedAt\": \"2016-11-02T21:13:41.330Z\",\n      \"role\": \"member\",\n      \"memberId\" : \"2AsQTyWCcYskBjSCT\",\n      \"userId\": \"kZYPwDDiGPTfQDj5n\"\n    }, {\n      \"invitedAt\": \"2016-11-02T21:13:41.330Z\",\n      \"email\": \"hello:::at:::mixmax.com\",\n      \"memberId\" : \"DFmzSmrDLMfPmm9qr\",\n      \"role\": \"member\"\n    }]\n}\n","language":"json"}]},"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":130,"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    \"2-0\": \"email\",\n    \"2-1\": \"*String*\",\n    \"2-2\": \"If the member isn't a mixmax user yet, this will be present.\",\n    \"4-0\": \"role\",\n    \"4-1\": \"*String*\",\n    \"4-2\": \"The role on the team. Either *admin* or *member*.\",\n    \"5-0\": \"createdAt\",\n    \"5-1\": \"*Date*\",\n    \"5-2\": \"When the user was first invited\",\n    \"6-0\": \"invitedAt\",\n    \"6-1\": \"*Date*\",\n    \"6-2\": \"The last time the invite was sent\",\n    \"7-0\": \"acceptedAt\",\n    \"7-1\": \"*Date*\",\n    \"7-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    \"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    \"3-0\": \"memberId\",\n    \"3-1\": \"*String*\",\n    \"3-2\": \"The unique identifier for a member on a team; used to perform member-related operations on .\"\n  },\n  \"cols\": 3,\n  \"rows\": 8\n}\n[/block]","excerpt":"Get all the members of the specified team.","slug":"teams-members-get","type":"endpoint","title":"/teams/:id/members"}

get/teams/:id/members

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", "2-0": "email", "2-1": "*String*", "2-2": "If the member isn't a mixmax user yet, this will be present.", "4-0": "role", "4-1": "*String*", "4-2": "The role on the team. Either *admin* or *member*.", "5-0": "createdAt", "5-1": "*Date*", "5-2": "When the user was first invited", "6-0": "invitedAt", "6-1": "*Date*", "6-2": "The last time the invite was sent", "7-0": "acceptedAt", "7-1": "*Date*", "7-2": "The last time the invitation was altered (accepted/rejected/left/removed)", "0-0": "userId", "0-1": "*String*", "0-2": "The user _id.", "1-0": "accepted", "1-1": "*Boolean*", "1-2": "Whether the invite has been accepted or rejected (this field doesn't exist if **pending**)", "3-0": "memberId", "3-1": "*String*", "3-2": "The unique identifier for a member on a team; used to perform member-related operations on ." }, "cols": 3, "rows": 8 } [/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 }}