Create User

This endpoint creates and returns the details of a user.

Request

POST https://v2.api.uberflip.com/users
Body Parameters Properties Type Description
first_name   String The user first name
last_name   String The user last name
email   String The user email address
federation_id   String The user federation Id (SSO)
avatar_url   String The user avatar image URL
calendly_url   String The user Calendly URL
google_plus_id   String The user Google Plus Id
twitter_handle   String The user Twitter handle
linkedin_profile_url   String The user LinkedIn URL
website_url   String The user website URL
bio   String The user bio text
generate_password   String Whether or not a password is generated for the user
generate_api_key   String Whether or not an API key is generated for the user

Response

Body Parameters Type Description
id Integer The unique user identifier
first_name String The user first name
last_name String The user last name
email String The user email address
federation_id String The user federation Id (SSO)
avatar_url String The user avatar image URL
calendly_url String The user Calendly URL
google_plus_id String The user Google Plus Id
twitter_handle String The user Twitter handle
linkedin_profile_url String The user LinkedIn URL
website_url String The user website URL
bio String The user bio text
author_url String The user author page URL
last_logged_in_at String The user last login date
last_logged_in_from String The user last logged IP address
created_at DateTime The user creation time
modified_at DateTime The user last updated time

Examples

curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer [Token]" -d "{ \
       \"id\": 1, \
       \"first_name\": \"User\", \
       \"last_name\": \"One\", \
       \"email\": \"userone@user.com\", \
       \"federation_id\": null, \
       \"avatar_url\": \"https://content.cdntwrk.com/files/YV91PTE2NjEzNSZtb2RpZmllZD0yMDF4LTExLTIwIDE0OjU0OjE0JnNpZz0wYjgzMzllZmE1MTJmOTBkM2UxMjVlMjY5MGFjM2U1Nw%253D%253D\", \
       \"calendly_url\": null, \
       \"google_plus_id\": null, \
       \"twitter_handle\": \"userone\", \
       \"linkedin_profile_url\": null, \
       \"website_url\": null, \
       \"bio\": \"user biography\", \
     }" \
-i https://v2.api.uberflip.com/users

Sample response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "id": 1,
    "first_name": "User",
    "last_name": "One",
    "email": "userone@user.com",
    "federation_id": null,
    "avatar_url": "https://content.cdntwrk.com/files/YV91PTE2NjEzNSZtb2RpZmllZD0yMDF4LTExLTIwIDE0OjU0OjE0JnNpZz0wYjgzMzllZmE1MTJmOTBkM2UxMjVlMjY5MGFjM2U1Nw%253D%253D",
    "calendly_url": null,
    "google_plus_id": null,
    "twitter_handle": "userone",
    "linkedin_profile_url": null,
    "website_url": null,
    "bio": "user biography",
    "author_url_slug": "user-one",
    "last_logged_in_at": null,
    "last_logged_in_from": null,
    "created_at": "2012-06-06T15:39:18-0400",
    "modified_at": "2018-11-20T14:54:14-0500"
}