Advanced: Generate Auto-Sign-In URL

1. Prerequisites

What is my authentication token?chevron-rightWhich API URL should I use?chevron-right

2. Create auto-sign-in url

Example request

curl -X POST \
  "https://api.movello.se/rest/v1/auth/session" \
  -H "authorization: Basic ${AUTH_TOKEN}" \
  -H "content-type: application/json" \
  -d '{
    "type": "EMBED",
    "move": {
      "type": "MOVE_IN",
      "externalId": "your-own-id-to-connect-people-moving-together",
      "moveInDate": "2021-02-18T00:00:00.000Z",
      "originAddress": {
        "street": "Strandvägen 2",
        "apartmentNumber": "2345",
        "zip": "11452",
        "city": "Stockholm",
        "residenceType": "APARTMENT",
        "residenceSize": 321,
        "numResidents": 4
      },
      "destinationAddress":{
        "street": "Strandvägen 1",
        "apartmentNumber": "1234",
        "zip": "11451",
        "city": "Stockholm",
        "residenceType": "APARTMENT",
        "residenceSize": 123,
        "numResidents": 4
      }
    },
    "user": {
      "firstName":"David",
      "lastName":"Fant",
      "email":"[email protected]",
      "phone":"+46701234567",
      "personNumber":"196904201337"
    }
  }'

Example response

Last updated