Cellularis

Endpoints

API endpoints for SAP CDC dataflow integration

POST /api/user

Create or update a user. When a matching email exists, the record is updated. Used by CDC dataflows to sync identity changes.

Request Body

Field Type Required Description
first_name string Yes User's first name
last_name string Yes User's last name
email string Yes Email address (used as unique identifier)
password string Yes Password (min 8 characters, stored hashed)

Example

POST https://cellularis.waygou.com/api/user
Content-Type: application/json

{
  "first_name": "Victor",
  "last_name": "Silva",
  "email": "[email protected]",
  "password": "securepassword"
}

201 Created

{
  "message": "User created.",
  "user": {
    "id": 1,
    "first_name": "Victor",
    "last_name": "Silva",
    "email": "[email protected]"
  }
}

200 Updated

{
  "message": "User updated.",
  "user": {
    "id": 1,
    "first_name": "Victor",
    "last_name": "Silva",
    "email": "[email protected]"
  }
}
DELETE /api/user

Delete a user by email. Used by CDC dataflows when an identity is removed from CDC.

Request Body

Field Type Required Description
email string Yes Email of the user to delete

Example

DELETE https://cellularis.waygou.com/api/user
Content-Type: application/json

{
  "email": "[email protected]"
}

200 Deleted

{
  "message": "User deleted."
}

404 Not Found

{
  "message": "User not found."
}
← Back to Home