{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/user","auth":"required","method":"post","params":[],"results":{"codes":[{"name":"","code":"{ }","language":"json","status":201},{"name":"","code":"{\n  name: String,\n  error: String,\n  validationErrors: {\n    <fieldName>: String\n  }\n}","language":"json","status":422}]},"settings":"","examples":{"codes":[]}},"next":{"description":"","pages":[]},"title":"/user","type":"endpoint","slug":"user","excerpt":"","body":"Create a new registered user using the JWT token given to your app by the `/token` route after the user logs in with their authentication provider.","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"586982111c8ac62300359a75","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Users API","slug":"users-api","order":2,"from_sync":false,"reference":false,"_id":"586982e31c8ac62300359a78","project":"54fb204867c8370d00b5c269","version":"571d54d418b3c10e003e55b9","__v":0,"createdAt":"2017-01-01T22:29:55.939Z"},"createdAt":"2017-01-01T22:26:25.507Z","githubsync":"","user":"54fb2a5f3dc1790d00b54206","__v":2,"parentDoc":null,"project":"54fb204867c8370d00b5c269","version":{"version":"2.0","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["571d54d418b3c10e003e55ba","571d54d418b3c10e003e55bb","571d54d418b3c10e003e55bc","586982e31c8ac62300359a78","5869833f6dab552500c677cb"],"_id":"571d54d418b3c10e003e55b9","project":"54fb204867c8370d00b5c269","hasDoc":true,"hasReference":true,"__v":3,"releaseDate":"2016-04-24T23:20:52.805Z","createdAt":"2016-04-24T23:20:52.805Z"}}

Definition

{{ api_url }}{{ page_api_url }}

Result Format


Documentation

Create a new registered user using the JWT token given to your app by the `/token` route after the user logs in with their authentication provider.

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 }}