curl --request POST \
--url https://api.1club.ai/v1/platform/progression-tracks/{id}/ranks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contactIds": [
123
],
"levelId": 123,
"next": true,
"stripes": 1,
"earnedOn": "2023-12-25",
"notifyMember": true
}
'import requests
url = "https://api.1club.ai/v1/platform/progression-tracks/{id}/ranks"
payload = {
"contactIds": [123],
"levelId": 123,
"next": True,
"stripes": 1,
"earnedOn": "2023-12-25",
"notifyMember": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contactIds: [123],
levelId: 123,
next: true,
stripes: 1,
earnedOn: '2023-12-25',
notifyMember: true
})
};
fetch('https://api.1club.ai/v1/platform/progression-tracks/{id}/ranks', 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.1club.ai/v1/platform/progression-tracks/{id}/ranks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contactIds' => [
123
],
'levelId' => 123,
'next' => true,
'stripes' => 1,
'earnedOn' => '2023-12-25',
'notifyMember' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.1club.ai/v1/platform/progression-tracks/{id}/ranks"
payload := strings.NewReader("{\n \"contactIds\": [\n 123\n ],\n \"levelId\": 123,\n \"next\": true,\n \"stripes\": 1,\n \"earnedOn\": \"2023-12-25\",\n \"notifyMember\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.1club.ai/v1/platform/progression-tracks/{id}/ranks")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"contactIds\": [\n 123\n ],\n \"levelId\": 123,\n \"next\": true,\n \"stripes\": 1,\n \"earnedOn\": \"2023-12-25\",\n \"notifyMember\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.1club.ai/v1/platform/progression-tracks/{id}/ranks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"contactIds\": [\n 123\n ],\n \"levelId\": 123,\n \"next\": true,\n \"stripes\": 1,\n \"earnedOn\": \"2023-12-25\",\n \"notifyMember\": true\n}"
response = http.request(request)
puts response.read_body{
"assigned": [
{
"contactId": 123,
"levelId": 123
}
],
"skipped": [
{
"contactId": 123,
"reason": "no_rank"
}
],
"failed": [
{
"contactId": 123
}
]
}{
"error": "<string>",
"code": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"details": {}
}Give members a rank
Gives up to 100 members a rank on the track: one named levelId (with stripes), or next: true for each member’s own next rank with stripes back to zero, as after a grading. earnedOn backdates it (a club recording belts it awarded before); it defaults to today. Each one is added to the member’s timeline as the dashboard does, and a move forward tells the member unless notifyMember is false - send false when recording ranks members already hold. One member’s failure never stops the rest: the result says who was ranked, skipped and failed. Requires contacts:write.
curl --request POST \
--url https://api.1club.ai/v1/platform/progression-tracks/{id}/ranks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contactIds": [
123
],
"levelId": 123,
"next": true,
"stripes": 1,
"earnedOn": "2023-12-25",
"notifyMember": true
}
'import requests
url = "https://api.1club.ai/v1/platform/progression-tracks/{id}/ranks"
payload = {
"contactIds": [123],
"levelId": 123,
"next": True,
"stripes": 1,
"earnedOn": "2023-12-25",
"notifyMember": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contactIds: [123],
levelId: 123,
next: true,
stripes: 1,
earnedOn: '2023-12-25',
notifyMember: true
})
};
fetch('https://api.1club.ai/v1/platform/progression-tracks/{id}/ranks', 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.1club.ai/v1/platform/progression-tracks/{id}/ranks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contactIds' => [
123
],
'levelId' => 123,
'next' => true,
'stripes' => 1,
'earnedOn' => '2023-12-25',
'notifyMember' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.1club.ai/v1/platform/progression-tracks/{id}/ranks"
payload := strings.NewReader("{\n \"contactIds\": [\n 123\n ],\n \"levelId\": 123,\n \"next\": true,\n \"stripes\": 1,\n \"earnedOn\": \"2023-12-25\",\n \"notifyMember\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.1club.ai/v1/platform/progression-tracks/{id}/ranks")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"contactIds\": [\n 123\n ],\n \"levelId\": 123,\n \"next\": true,\n \"stripes\": 1,\n \"earnedOn\": \"2023-12-25\",\n \"notifyMember\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.1club.ai/v1/platform/progression-tracks/{id}/ranks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"contactIds\": [\n 123\n ],\n \"levelId\": 123,\n \"next\": true,\n \"stripes\": 1,\n \"earnedOn\": \"2023-12-25\",\n \"notifyMember\": true\n}"
response = http.request(request)
puts response.read_body{
"assigned": [
{
"contactId": 123,
"levelId": 123
}
],
"skipped": [
{
"contactId": 123,
"reason": "no_rank"
}
],
"failed": [
{
"contactId": 123
}
]
}{
"error": "<string>",
"code": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"details": {}
}{
"error": "<string>",
"code": "<string>",
"details": {}
}Authorizations
Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.
Headers
Retry-safe key; a repeat of the same request replays the first response
255Path Parameters
Body
Exactly one of levelId and next.
1 - 100 elementsThe rank to give, a level of this track.
True for each member's own next rank, stripes back to zero.
Stripes at levelId, up to the track's maxStripes.
x >= 0The calendar date it was earned; today when omitted. May be in the past.
Tell the member about a move forward. False when recording ranks they already hold.
Was this page helpful?