1. Users API
  2. Create Or Update User
POST

/v1/apps/:app_id/users

Authorization*

Parameters

app_idRequired
string

The id of the app

Body

user_idRequired
string

Your user identifier. if user_id already exists, user properties will be updated else a new user will be created

email
string

User’s email

mobile
string

Mobile with country code prefix (e.g +91)

whatsapp_mobile
string

Mobile with country code prefix (e.g +91)

slack
object

Slack Recipient Object

telegram
object

Telegram Recipient Object

onesignal_external_id
string

Onesignal External User Identifier

POST /v1/apps/{{app_id}}/users HTTP/1.1
Host: https://api.ravenapp.dev
Authorization: AuthKey {{secret_key}}
Content-Type: application/json

{
    "user_id" : "test",
    "mobile" : "9876543210",
    "email" : "x@ravenapp.dev"
}