API

Creates a new user

Creates a new user with a verified phone number.

POST/v1/marketplace/user/verified

Query Parameters

select?array<string>
expand?array<string>

Request Body

application/json

phone_number?string
Example"8124132"
phone_country_code?string
Example"354"
verification_code?string
Example"123456"

Response Body

application/json

application/json

application/json

curl -X POST "https://api.noona.is/v1/marketplace/user/verified" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "7awdXwZoedakjad37a",
  "name": "string",
  "phone_number": "string",
  "phone_country_code": "44 (for UK)",
  "phone_number_verified": true,
  "favorite_companies": [
    "string"
  ],
  "push_token": {
    "platform": 0,
    "token": "string"
  },
  "kennitala": "string",
  "email": "string",
  "email_verified": true,
  "marketing_consent": false,
  "license_plate": "string",
  "token": "string",
  "locale": {
    "ui_language": "string"
  },
  "device_info": {
    "battery_level": 0.72,
    "brand": "Apple",
    "build_number": 1626691095,
    "carrier": "Vodafone",
    "device_id": "iPhone13,1",
    "device_name": "John's iPhone",
    "manufacturer": "Apple",
    "model": "iPhone 12 mini",
    "system_version": "15.0.1",
    "is_emulator": true,
    "readable_version": "1.4.1.1626691095",
    "android_api_level": 0,
    "code_push_app_version": "1.4.1_v74"
  },
  "created_at": 1631558908,
  "updated_at": 1631558908
}
{
  "type": "generic_error",
  "message": "Time slot is not available."
}
{
  "type": "generic_error",
  "message": "Time slot is not available."
}