POST
/
v1
/
register
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/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
email
string<email>
required
Maximum length: 255
password
string
required
password_confirmation
string
required

Response

access_token
string
required
token_type
string
required
Example:

"bearer"

expires_in
integer
required
Example:

3360