For the complete documentation index, see llms.txt. This page is also available as Markdown.

Device Registration

Register device registration

post
/api/Public/DeviceRegistration/register
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
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