Request

PATCH https://v2.api.uberflip.com/users/{userId}
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer [Token]" -d "{ \
       \"id\": 1, \
       \"first_name\": \"User\", \
       \"last_name\": \"One\", \
       \"email\": \"[email protected]\", \
       \"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
import requests
import json

headers = {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer [Token]',
}

data = '{ "id": 1, "first_name": "User", "last_name": "One", "email": "[email protected]", "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", }'

response = requests.post('https://v2.api.uberflip.com/users', headers=headers, data=json.dumps(data))
// Generated by curl-to-PHP: http://incarnate.github.io/curl-to-php/
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://v2.api.uberflip.com/streams');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');


$headers = array();
$headers[] = 'Authorization: Bearer [Token]';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
}
curl_close($ch);
var request = require('request');

var headers = {
    'Authorization': 'Bearer [Token]'
};

var options = {
    url: 'https://v2.api.uberflip.com/streams',
    headers: headers
};

function callback(error, response, body) {
    if (!error && response.statusCode == 200) {
        console.log(body);
    }
}

request(options, callback);

Request Parameters

Path Parameters

Description

userId

The unique identifier of the user

Body Parameters

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