Users API
post
https://api.ravenapp.dev
/v1/apps/:app_id/users
Create User

Request. Example

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" : "[email protected]"
}
get
https://api.ravenapp.dev
/v1/apps/:app_id/users/:user_id
Get User Profile

Request Example

GET /v1/apps/{{app_id}}/users/{{user_id}} HTTP/1.1
Host: https://api.ravenapp.dev
Authorization: AuthKey {{secret_key}}

Device APIs for Push

post
https://api.ravenapp.dev
/v1/apps/:app_id/users/:user_id/devices
Add Device

Request Example

POST /v1/apps/{{app_id}}/users/{{user_id}}/devices/ HTTP/1.1
Host: https://api.ravenapp.dev
Authorization: AuthKey {{secret_key}}
Content-Type: application/json
{
"fcm_token" : "qweKu7bdTZumJpzxUqqpxe:APA91bE9FSScPK_kENPpBAj0URYDo4z0tE6aOrBtpgaA1I1OC7GBes1lR71EWRhavLGMzDMKPPLkUoqtvPHzCgq-8ObU4AOJjbPdpkyRWqc8mqrUV2EkvsziLZvFccwtyI7-lQQhSJDe"
"platform" : "android"
}
put
https://api.ravenapp.dev
/v1/apps/:app_id/users/:user_id/devices/:device_id
Update Device

Request Example

POST /v1/apps/{{app_id}}/users/{{user_id}}/devices/{{device_id}} HTTP/1.1
Host: https://api.ravenapp.dev
Authorization: AuthKey {{secret_key}}
Content-Type: application/json
{
"fcm_token" : "qweKu7bdTZumJpzxUqqpxe:APA91bE9FSScPK_kENPpBAj0URYDo4z0tE6aOrBtpgaA1I1OC7GBes1lR71EWRhavLGMzDMKPPLkUoqtvPHzCgq-8ObU4AOJjbPdpkyRWqc8mqrUV2EkvsziLZvFccwtyI7-lQQhSJDe"
"platform" : "android"
}
delete
https://api.ravenapp.dev/v1/apps/:app_id/users/:user_id/devices/:device_id
Delete Device
Copy link
On this page
post
Create User
get
Get User Profile
Device APIs for Push
post
Add Device
put
Update Device
delete
Delete Device