Update user banner
curl --request PATCH \
--url https://api.opensource-together.com/users/{id}/banner \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file'import requests
url = "https://api.opensource-together.com/users/{id}/banner"
files = { "file": ("example-file", open("example-file", "rb")) }
response = requests.patch(url, files=files)
print(response.text)const form = new FormData();
form.append('file', '<string>');
const options = {method: 'PATCH'};
options.body = form;
fetch('https://api.opensource-together.com/users/{id}/banner', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.opensource-together.com/users/{id}/banner",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Content-Type: multipart/form-data"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.opensource-together.com/users/{id}/banner"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("PATCH", url, payload)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.opensource-together.com/users/{id}/banner")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opensource-together.com/users/{id}/banner")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"data": {
"id": "usr_c54b633eb12f4900b92b34e222096449",
"name": "<string>",
"email": "<string>",
"image": "<string>",
"banner": "<string>",
"bio": "<string>",
"jobTitle": "<string>",
"githubUrl": "https://github.com/username",
"gitlabUrl": "https://gitlab.com/username",
"twitterUrl": "https://twitter.com/username",
"linkedinUrl": "https://linkedin.com/in/username",
"discordUrl": "https://discord.gg/server",
"websiteUrl": "https://example.com",
"betaTester": false,
"connectedProviders": [
"github",
"gitlab"
],
"userExperiences": [
{
"startAt": "2023-01-15",
"endAt": "2023-12-31",
"title": "Senior Software Engineer",
"url": "https://company.com"
}
],
"userTechStacks": [
{
"id": "tst_c54b633eb12f4900b92b34e222096449",
"name": "React",
"iconUrl": "https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/react/react-original.svg",
"type": "TECH"
}
],
"userCategories": [
{
"id": "cat_c54b633eb12f4900b92b34e222096449",
"name": "API & Microservices"
}
],
"contributionGraph": {
"totalContributions": 720,
"weeks": [
{
"contributionDays": [
{
"date": "2025-10-06",
"contributionCount": 5,
"contributionLevel": "SECOND_QUARTILE",
"color": "#40c463"
}
]
}
]
}
},
"timestamp": "2025-09-03T13:04:43.353Z"
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": {}
},
"timestamp": "2023-11-07T05:31:56Z"
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": {}
},
"timestamp": "2023-11-07T05:31:56Z"
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": {}
},
"timestamp": "2023-11-07T05:31:56Z"
}User
Update user banner
Replace the user banner with a custom image. Accepts PNG, JPEG, or WEBP format. Maximum file size: 5MB.
PATCH
/
users
/
{id}
/
banner
Update user banner
curl --request PATCH \
--url https://api.opensource-together.com/users/{id}/banner \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file'import requests
url = "https://api.opensource-together.com/users/{id}/banner"
files = { "file": ("example-file", open("example-file", "rb")) }
response = requests.patch(url, files=files)
print(response.text)const form = new FormData();
form.append('file', '<string>');
const options = {method: 'PATCH'};
options.body = form;
fetch('https://api.opensource-together.com/users/{id}/banner', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.opensource-together.com/users/{id}/banner",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Content-Type: multipart/form-data"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.opensource-together.com/users/{id}/banner"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("PATCH", url, payload)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.opensource-together.com/users/{id}/banner")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opensource-together.com/users/{id}/banner")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"data": {
"id": "usr_c54b633eb12f4900b92b34e222096449",
"name": "<string>",
"email": "<string>",
"image": "<string>",
"banner": "<string>",
"bio": "<string>",
"jobTitle": "<string>",
"githubUrl": "https://github.com/username",
"gitlabUrl": "https://gitlab.com/username",
"twitterUrl": "https://twitter.com/username",
"linkedinUrl": "https://linkedin.com/in/username",
"discordUrl": "https://discord.gg/server",
"websiteUrl": "https://example.com",
"betaTester": false,
"connectedProviders": [
"github",
"gitlab"
],
"userExperiences": [
{
"startAt": "2023-01-15",
"endAt": "2023-12-31",
"title": "Senior Software Engineer",
"url": "https://company.com"
}
],
"userTechStacks": [
{
"id": "tst_c54b633eb12f4900b92b34e222096449",
"name": "React",
"iconUrl": "https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/react/react-original.svg",
"type": "TECH"
}
],
"userCategories": [
{
"id": "cat_c54b633eb12f4900b92b34e222096449",
"name": "API & Microservices"
}
],
"contributionGraph": {
"totalContributions": 720,
"weeks": [
{
"contributionDays": [
{
"date": "2025-10-06",
"contributionCount": 5,
"contributionLevel": "SECOND_QUARTILE",
"color": "#40c463"
}
]
}
]
}
},
"timestamp": "2025-09-03T13:04:43.353Z"
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": {}
},
"timestamp": "2023-11-07T05:31:56Z"
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": {}
},
"timestamp": "2023-11-07T05:31:56Z"
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": {}
},
"timestamp": "2023-11-07T05:31:56Z"
}