Create User
Create a new user in the system
The /user endpoint allows you to create in the system.
This endpoint requires authentication with a JWT token or API key.
POST https://api.instantuploader.com/user
Example:
/user
Request Body
Name
Type
Description
email*
String
Example:
POST /user HTTP/1.1
Host: api.instantuploader.com
Authorization: Bearer <your_token_or_api_key>
Content-Type: application/json
{
"userId": "<userId>",
"country": "<country>"
}
const axios = require('axios');
const token = "<your_token_or_api_key>";
const accountId = "<your_account_id>";
const url = `https://api.instantuploader.com/user`;
const data = {
"userId": "<userId>",
"country": "<country>"
};
axios.post(url, data, {
headers: {
"Authorization": `Bearer ${token}`,
"Content-Type": "application/json"
}
}).then(response => {
console.log(response.data);
}).catch(error => {
console.log(error);
});
Example response:
Last updated