Account

Import an anonymous checklist.

After the person confirms, merges local and anonymous server sightings into this account. A successful import retires the old anonymous code.

post/account/import

Request

  • Base URL: https://animalchecklist.com/api/v1
  • URL: https://animalchecklist.com/api/v1/account/import
  • Auth: API key in cookie ac_session

Headers

X-Account-Idstring uuid required

Account id shown by GET /account. Prevents a browser session change from changing a different account.

Request body

codestring

Example request

{
  "sightings": [
    {
      "animalId": "red-fox"
    }
  ]
}

Response

Merged sightings.

Example response

{
  "data": [
    {
      "animalId": "red-fox"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.