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
}

Last updated