FrameMe
  1. Devices
FrameMe
  • Default module
    • Devices
      • Get Init Device
        POST
      • Init remote device
        POST
    • Prompts
    • Schemas
      • device
      • prompts
      • organization
      • user
      • member
      • event
  • FrameMe Admin API
    • Authentication
      • Better Auth GET endpoint
      • Better Auth POST endpoint
    • Invitations
      • Accept organization invitation
    • Devices
      • Validate device credentials
      • Disconnect device
      • Delete device
    • Prompts
      • Get prompts by device ID
      • Create a new prompt
    • Generation
      • Generate image with Flux AI
      • Poll for generation result
      • Demo API endpoint
    • Notifications
      • Send notification via NTFY
    • Upload
      • Upload file to S3
    • Schemas
      • Error
      • User
      • Device
      • Prompt
      • PromptInput
      • FluxGenerationRequest
      • FluxResponse
      • FluxResult
      • Organization
      • Member
      • Invitation
  • Frameme
    • Default
      • socialSignIn
      • /get-session
      • /sign-out
      • /sign-up/email
      • /sign-in/email
      • /forget-password
      • /reset-password
      • /verify-email
      • /send-verification-email
      • /change-email
      • /change-password
      • /update-user
      • /delete-user
      • /reset-password/{token}
      • /request-password-reset
      • /list-sessions
      • /revoke-session
      • /revoke-sessions
      • /revoke-other-sessions
      • /link-social
      • /list-accounts
      • /delete-user/callback
      • /unlink-account
      • /refresh-token
      • /get-access-token
      • /account-info
      • /ok
      • /error
    • Admin
      • setRole
      • getUser
      • createUser
      • updateUser
      • listUsers
      • listUserSessions
      • unbanUser
      • banUser
      • impersonateUser
      • /admin/stop-impersonating
      • revokeUserSession
      • revokeUserSessions
      • removeUser
      • setUserPassword
      • /admin/has-permission
    • Passkey
      • /passkey/generate-register-options
      • /passkey/generate-authenticate-options
      • /passkey/verify-registration
      • /passkey/verify-authentication
      • /passkey/list-user-passkeys
      • /passkey/delete-passkey
      • /passkey/update-passkey
    • Multi-session
      • /multi-session/list-device-sessions
      • /multi-session/set-active
      • /multi-session/revoke
    • Magic-link
      • /sign-in/magic-link
      • /magic-link/verify
    • Email-otp
      • /email-otp/send-verification-otp
      • /email-otp/check-verification-otp
      • /email-otp/verify-email
      • /sign-in/email-otp
      • /forget-password/email-otp
      • /email-otp/reset-password
    • Organization
      • /organization/create
      • /organization/update
      • /organization/delete
      • /organization/set-active
      • /organization/get-full-organization
      • /organization/list
      • /organization/invite-member
      • /organization/cancel-invitation
      • /organization/accept-invitation
      • /organization/get-invitation
      • /organization/reject-invitation
      • /organization/list-invitations
      • /organization/get-active-member
      • /organization/check-slug
      • /organization/remove-member
      • /organization/update-member-role
      • /organization/leave
      • /organization/list-user-invitations
      • /organization/list-members
      • /organization/get-active-member-role
      • /organization/has-permission
    • Schemas
      • User
      • Prompt
      • Session
      • Device
      • Apikey
      • Account
      • Verification
      • Event
      • Passkey
      • Organization
      • Member
      • Invitation
      • PromptTemplates
      • RouteProtection
      • DeviceInformation
  1. Devices

Get Init Device

Developing
POST
/api/device/get-init-device

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/device/get-init-device' \
--header 'Content-Type: application/json' \
--data-raw '{
    "deviceId": "string"
}'
Response Response Example
{
    "id": "string",
    "name": "string",
    "userId": "string",
    "pinCode": "'2323'",
    "isSynced": "false",
    "icon": "string",
    "description": "string",
    "color": "'#0ea5e9'",
    "created_at": "string",
    "isActive": "false",
    "selectedModel": "'gemeni'",
    "organization_id": "string",
    "eventId": "string",
    "deviceCode": "'58881e56-908e-4e79-b3b2-0c751ca1f1e8'",
    "userCode": "'d5518266-9401-4200-9626-8abf5789242e'",
    "status": "'denied'",
    "expires_at": "(now() + '01:00:00'"
}
Modified at 2025-12-09 16:57:43
Next
Init remote device
Built with