⚙️
api.megoru.ru
  • This is public API
  • Reference
    • Hangman API
      • Get random word
    • Giveaway API
      • Get winners
    • Money API
      • Autorisation
      • Transaction
      • Family
Powered by GitBook
On this page
  • Create family
  • Remove User from family
  • Create invite
  • Create a new user

Was this helpful?

  1. Reference
  2. Money API

Family

Create family

POST https://api.megoru.ru/api/family

Headers

Name
Value

Content-Type

application/json

Authorization

token

Response

{
  "family_id": 1
}

Remove User from family

DELETE https://api.megoru.ru/api/family/{email}

Headers

Name
Value

Content-Type

application/json

Authorization

token

PathVariable

Name
Type
Description

email

string

User email

Response

Create invite

POST https://api.megoru.ru/api/family/invite

Headers

Name
Value

Content-Type

application/json

Authorization

token

Body

Name
Type
Description

name

string

Name of the user

age

number

Age of the user

Response

{
  "link": "gcuYfDSm",
  "data": "2024-12-06"
}

Create a new user

POST https://api.megoru.ru/api/family/accept

Headers

Name
Value

Content-Type

application/json

Authorization

token

Body

Name
Type
Description

uuid

string

UUID key

Response

{
  "family_id": 1
}

PreviousTransaction

Last updated 5 months ago

Was this helpful?