POST
/
register
cURL
curl --request POST \
  --url https://api.comm.com/api/register \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "password": "<string>",
  "password_confirmation": "<string>"
}'
{
  "access_token": "<string>",
  "token_type": "bearer",
  "expires_in": 3360
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201
application/json

The response is of type object.