Skip to main content
POST
/
register
cURL
curl --request POST \
  --url https://api.comm.com/api/register \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "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 string 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