Device Registration
Authorizations
AuthorizationstringRequired
JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.
Body
deviceIdstring · nullableOptional
deviceTypeinteger · int32Optional
fcmTokenstring · nullableOptional
platforminteger · int32 · nullableOptional
Responses
200
OK
application/json
successbooleanOptional
alreadyRegisteredbooleanOptional
messagestring · nullableOptional
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
post/api/Public/DeviceRegistration/register
POST /api/Public/DeviceRegistration/register HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 65
{
"deviceId": "text",
"deviceType": 1,
"fcmToken": "text",
"platform": 1
}{
"success": true,
"alreadyRegistered": true,
"message": "text"
}Last updated
