Create new user

This version of the API docs is depreciated and will be taken offline soon.
Please migrate to the new version as soon as possible to avoid service disruption.

New version can be found at https://docs.wceaapi.org/

Adds a new user to the authenticated organization.

Request

  • HTTP Verb POST
  • URI /user

POST Parameters

email email for the user login *
name user first name *
surname user last name *
title user title, such as Mr, Lady, Dr, etc.
suffix user letters after name
country country name (defaults to the Organization country)
region region name
city city name
company company name
professionalRef professional reference number **

(*) Required always.

(**) Required only by some organizations.

Request example

curl -H "Request-Time: Wed, 11 Dec 2013 13:58:29 +0000" \
     -H "Api-Key: 78b47a40f93378a6a487919edea6e92c" \
     -H "Signature:      395bf395c8cc2186e6c93fcf08d0b42d5a9207ffbef38b5ba94a954da9abae74" \
     --data "email=adrian.perez@wcea.education&name=Adrián&surname=Pérez" \
     http://wceaapi.org/v1/user

Output Example

{
  "_meta": {
   ...
  },
  "records": {
    "id": 1234,
    "email": "adrian.perez@wcea.education",
    "name": "Adrián",
    "surname": "Pérez",
    "title": "Mr",
    "suffix": "PhD",
    "country": "Spain",
    "region": "Andalucía",
    "city": "Marbella",
    "company": "WCEA",
  }
}