Retrieve User
Retrieve information about an user with the specified ID.
Query Parameters
Name
Type
Description
GET /api/user/?userId={userId} HTTP/1.1
Host: api.instantuploader.com
Content-Type: application/json
Authorization: Bearer "<your_token_or_api_key>" const axios = require('axios');
const token = "<your_token_or_api_key>";
const accountId = "<your_account_id>";
const url = `https://api.instantuploader.com/user/?userId={userId}`;
axios.get(url, {
headers: {
"Authorization": `Bearer ${token}`,
"Content-Type": "application/json"
}
}).then(response => {
console.log(response.data);
}).catch(error => {
console.log(error);
});<?php
$token = "<your_token_or_api_key>";
$accountId = "<your_account_id>";
$url = "https://api.instantuploader.com/user/?userId={userId}";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json',
'Authorization: Bearer ' . $token
));
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>Last updated