user/add

Create an account and return the created user. The OAuth Access token is returned in the X-API-OAuth-access_token header.

Usage

Requires POST.

https://www.geni.com/api/user/add?first_name=John&last_name=Smith&gender=m&email=john@smith.com

Parameters

Name Type Description Required
email String The user's email true
first_name String The user's first name true
gender String The user's gender: m, f, or u true
last_name String The user's last name true

Returned Fields

Name Type Description
account_type String The user's account type: basic, plus, pro
name String The user's name
Note: Blank fields will not be returned to save bandwidth.

rails-1a-002