Skip to main content
POST
/
account
/
login
Api Login
curl --request POST \
  --url https://ctechnology.io/api/v2.2/account/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "password": "<string>",
  "origin": "<string>"
}
'
{
  "header": {
    "api_version": "<string>",
    "permission_via": [
      {
        "permission": "<string>",
        "via": "me",
        "organization_id": "<string>"
      }
    ],
    "status": "<string>",
    "message": "<string>"
  },
  "data": {
    "token": "<string>",
    "user": {
      "email": "jsmith@example.com"
    },
    "expiry": "<string>"
  }
}

Body

application/json
email
string<email>
required

The email with which a user wants to sign up. We will send a confirmation message to this address.

Maximum string length: 254
password
string
required

The password with which the user wants to sign up.

Required string length: 8 - 64
origin
string | null

An optional organization id under which the user is logging in. Note that depending on the organization, this may redirect the login to another provider.

Response

OK

header
APIResponseHeader · object
required
data
LoginResponse · object
required