Register
POST/user-svc/register
Register a new user with a name, email, and password.
Request
- application/json
Body
required
Register Request
contact
object
The unique identifier, which can be a URL.
Example values: "joe12" (singulatron username), "twitter.com/thejoe" (twitter url), "joe@joesdomain.com" (email)
If this is the primary contact method
Platform of the contact (e.g., "email", "phone", "twitter")
Value is the platform local unique identifier.
Ie. while the id
of a Twitter contact is twitter.com/thejoe
, the value will be only thejoe
.
For email and phones the id
and the value
will be the same.
This field mostly exists for display purposes.
Example values: "joe12" (singulatron username), "thejoe" (twitter username), "joe@joesdomain.com" (email)
Whether the contact is verified
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Invalid JSON
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "string"
}