Update category
curl --request PUT \
--url https://api.us.cr4ce.com/category/{category_slug} \
--header 'Accept: <accept>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"status": "active",
"translated": {
"name": {
"en_GB": "Community Development Grants"
},
"description": {
"en_GB": "Supports projects that strengthen local community infrastructure."
},
"application_name_label": {
"en_GB": "Project name"
},
"image_heading": {
"en_GB": "Project photo"
},
"packing_slip_instructions": {
"en_GB": "Attach a signed cover sheet with the application."
},
"shortcode": {
"en_GB": "CDG"
}
},
"chapters": [
"PqRsTuVw",
"YzAbCdEf"
],
"divisions": 2,
"applicant_max_applications": 1,
"fill_application_name": true,
"locked": false,
"max_image_width": 1200,
"parent": "MnOpQrSt",
"pdf_packing_slip": true
}
'import requests
url = "https://api.us.cr4ce.com/category/{category_slug}"
payload = {
"status": "active",
"translated": {
"name": { "en_GB": "Community Development Grants" },
"description": { "en_GB": "Supports projects that strengthen local community infrastructure." },
"application_name_label": { "en_GB": "Project name" },
"image_heading": { "en_GB": "Project photo" },
"packing_slip_instructions": { "en_GB": "Attach a signed cover sheet with the application." },
"shortcode": { "en_GB": "CDG" }
},
"chapters": ["PqRsTuVw", "YzAbCdEf"],
"divisions": 2,
"applicant_max_applications": 1,
"fill_application_name": True,
"locked": False,
"max_image_width": 1200,
"parent": "MnOpQrSt",
"pdf_packing_slip": True
}
headers = {
"Accept": "<accept>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
Accept: '<accept>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
status: 'active',
translated: {
name: {en_GB: 'Community Development Grants'},
description: {en_GB: 'Supports projects that strengthen local community infrastructure.'},
application_name_label: {en_GB: 'Project name'},
image_heading: {en_GB: 'Project photo'},
packing_slip_instructions: {en_GB: 'Attach a signed cover sheet with the application.'},
shortcode: {en_GB: 'CDG'}
},
chapters: ['PqRsTuVw', 'YzAbCdEf'],
divisions: 2,
applicant_max_applications: 1,
fill_application_name: true,
locked: false,
max_image_width: 1200,
parent: 'MnOpQrSt',
pdf_packing_slip: true
})
};
fetch('https://api.us.cr4ce.com/category/{category_slug}', 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.us.cr4ce.com/category/{category_slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'status' => 'active',
'translated' => [
'name' => [
'en_GB' => 'Community Development Grants'
],
'description' => [
'en_GB' => 'Supports projects that strengthen local community infrastructure.'
],
'application_name_label' => [
'en_GB' => 'Project name'
],
'image_heading' => [
'en_GB' => 'Project photo'
],
'packing_slip_instructions' => [
'en_GB' => 'Attach a signed cover sheet with the application.'
],
'shortcode' => [
'en_GB' => 'CDG'
]
],
'chapters' => [
'PqRsTuVw',
'YzAbCdEf'
],
'divisions' => 2,
'applicant_max_applications' => 1,
'fill_application_name' => true,
'locked' => false,
'max_image_width' => 1200,
'parent' => 'MnOpQrSt',
'pdf_packing_slip' => true
]),
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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.us.cr4ce.com/category/{category_slug}"
payload := strings.NewReader("{\n \"status\": \"active\",\n \"translated\": {\n \"name\": {\n \"en_GB\": \"Community Development Grants\"\n },\n \"description\": {\n \"en_GB\": \"Supports projects that strengthen local community infrastructure.\"\n },\n \"application_name_label\": {\n \"en_GB\": \"Project name\"\n },\n \"image_heading\": {\n \"en_GB\": \"Project photo\"\n },\n \"packing_slip_instructions\": {\n \"en_GB\": \"Attach a signed cover sheet with the application.\"\n },\n \"shortcode\": {\n \"en_GB\": \"CDG\"\n }\n },\n \"chapters\": [\n \"PqRsTuVw\",\n \"YzAbCdEf\"\n ],\n \"divisions\": 2,\n \"applicant_max_applications\": 1,\n \"fill_application_name\": true,\n \"locked\": false,\n \"max_image_width\": 1200,\n \"parent\": \"MnOpQrSt\",\n \"pdf_packing_slip\": true\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Accept", "<accept>")
req.Header.Add("x-api-key", "<api-key>")
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.put("https://api.us.cr4ce.com/category/{category_slug}")
.header("Accept", "<accept>")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"status\": \"active\",\n \"translated\": {\n \"name\": {\n \"en_GB\": \"Community Development Grants\"\n },\n \"description\": {\n \"en_GB\": \"Supports projects that strengthen local community infrastructure.\"\n },\n \"application_name_label\": {\n \"en_GB\": \"Project name\"\n },\n \"image_heading\": {\n \"en_GB\": \"Project photo\"\n },\n \"packing_slip_instructions\": {\n \"en_GB\": \"Attach a signed cover sheet with the application.\"\n },\n \"shortcode\": {\n \"en_GB\": \"CDG\"\n }\n },\n \"chapters\": [\n \"PqRsTuVw\",\n \"YzAbCdEf\"\n ],\n \"divisions\": 2,\n \"applicant_max_applications\": 1,\n \"fill_application_name\": true,\n \"locked\": false,\n \"max_image_width\": 1200,\n \"parent\": \"MnOpQrSt\",\n \"pdf_packing_slip\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.us.cr4ce.com/category/{category_slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Accept"] = '<accept>'
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"status\": \"active\",\n \"translated\": {\n \"name\": {\n \"en_GB\": \"Community Development Grants\"\n },\n \"description\": {\n \"en_GB\": \"Supports projects that strengthen local community infrastructure.\"\n },\n \"application_name_label\": {\n \"en_GB\": \"Project name\"\n },\n \"image_heading\": {\n \"en_GB\": \"Project photo\"\n },\n \"packing_slip_instructions\": {\n \"en_GB\": \"Attach a signed cover sheet with the application.\"\n },\n \"shortcode\": {\n \"en_GB\": \"CDG\"\n }\n },\n \"chapters\": [\n \"PqRsTuVw\",\n \"YzAbCdEf\"\n ],\n \"divisions\": 2,\n \"applicant_max_applications\": 1,\n \"fill_application_name\": true,\n \"locked\": false,\n \"max_image_width\": 1200,\n \"parent\": \"MnOpQrSt\",\n \"pdf_packing_slip\": true\n}"
response = http.request(request)
puts response.read_body{
"created": "2025-01-15T09:00:00Z",
"description": {
"en_GB": "Submit your documentary films exploring real-world subjects and stories."
},
"divisions": 1,
"form": {
"slug": "GhIjKlMn",
"link": "https://api.au.cr4ce.com/form/GhIjKlMn",
"name": {
"en_GB": "Application form"
}
},
"name": {
"en_GB": "Documentary"
},
"parent": {
"slug": "KlMnOpQr",
"link": "https://api.au.cr4ce.com/category/KlMnOpQr",
"name": {
"en_GB": "Film"
}
},
"promoted": null,
"season": {
"slug": "QrStUvWx",
"link": "https://api.au.cr4ce.com/season/QrStUvWx",
"name": {
"en_GB": "2025"
}
},
"shortcode": {
"en_GB": "01"
},
"slug": "AbCdEfGh",
"status": "active",
"updated": "2025-06-20T14:30:00Z",
"chapters": [
{
"slug": "MnOpQrSt",
"link": "https://api.au.cr4ce.com/chapter/MnOpQrSt",
"name": {
"en_GB": "Film"
}
}
],
"applicant_max_applications": null,
"application_name_label": {
"en_GB": "Application title"
},
"fill_application_name": false,
"image_heading": {
"en_GB": "Category image"
},
"images": [
{
"token": "AbCdEfGhIjKlMnOp",
"link": "https://api.au.cr4ce.com/file/AbCdEfGhIjKlMnOp",
"filename": "example.png",
"download": "https://files.au.cr4ce.com/file/AbCdEfGhIjKlMnOp/example.png?Expires=1781657570&Signature=REDACTED&Key-Pair-Id=REDACTED"
}
],
"max_image_width": 300,
"packing_slip_instructions": {
"en_GB": "Attach this slip to each physical submission."
},
"pdf_packing_slip": false
}{
"message": "<string>",
"status_code": 400
}{
"message": "<string>",
"status_code": 401
}{
"message": "<string>",
"status_code": 403
}{
"message": "<string>",
"status_code": 404
}{
"message": "<string>",
"status_code": 422,
"errors": {}
}{
"message": "<string>",
"status_code": 429
}{
"status": "Maintenance in progress"
}Categories
Update category
Update the category identified by the specified slug.
PUT
/
category
/
{category_slug}
Update category
curl --request PUT \
--url https://api.us.cr4ce.com/category/{category_slug} \
--header 'Accept: <accept>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"status": "active",
"translated": {
"name": {
"en_GB": "Community Development Grants"
},
"description": {
"en_GB": "Supports projects that strengthen local community infrastructure."
},
"application_name_label": {
"en_GB": "Project name"
},
"image_heading": {
"en_GB": "Project photo"
},
"packing_slip_instructions": {
"en_GB": "Attach a signed cover sheet with the application."
},
"shortcode": {
"en_GB": "CDG"
}
},
"chapters": [
"PqRsTuVw",
"YzAbCdEf"
],
"divisions": 2,
"applicant_max_applications": 1,
"fill_application_name": true,
"locked": false,
"max_image_width": 1200,
"parent": "MnOpQrSt",
"pdf_packing_slip": true
}
'import requests
url = "https://api.us.cr4ce.com/category/{category_slug}"
payload = {
"status": "active",
"translated": {
"name": { "en_GB": "Community Development Grants" },
"description": { "en_GB": "Supports projects that strengthen local community infrastructure." },
"application_name_label": { "en_GB": "Project name" },
"image_heading": { "en_GB": "Project photo" },
"packing_slip_instructions": { "en_GB": "Attach a signed cover sheet with the application." },
"shortcode": { "en_GB": "CDG" }
},
"chapters": ["PqRsTuVw", "YzAbCdEf"],
"divisions": 2,
"applicant_max_applications": 1,
"fill_application_name": True,
"locked": False,
"max_image_width": 1200,
"parent": "MnOpQrSt",
"pdf_packing_slip": True
}
headers = {
"Accept": "<accept>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
Accept: '<accept>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
status: 'active',
translated: {
name: {en_GB: 'Community Development Grants'},
description: {en_GB: 'Supports projects that strengthen local community infrastructure.'},
application_name_label: {en_GB: 'Project name'},
image_heading: {en_GB: 'Project photo'},
packing_slip_instructions: {en_GB: 'Attach a signed cover sheet with the application.'},
shortcode: {en_GB: 'CDG'}
},
chapters: ['PqRsTuVw', 'YzAbCdEf'],
divisions: 2,
applicant_max_applications: 1,
fill_application_name: true,
locked: false,
max_image_width: 1200,
parent: 'MnOpQrSt',
pdf_packing_slip: true
})
};
fetch('https://api.us.cr4ce.com/category/{category_slug}', 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.us.cr4ce.com/category/{category_slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'status' => 'active',
'translated' => [
'name' => [
'en_GB' => 'Community Development Grants'
],
'description' => [
'en_GB' => 'Supports projects that strengthen local community infrastructure.'
],
'application_name_label' => [
'en_GB' => 'Project name'
],
'image_heading' => [
'en_GB' => 'Project photo'
],
'packing_slip_instructions' => [
'en_GB' => 'Attach a signed cover sheet with the application.'
],
'shortcode' => [
'en_GB' => 'CDG'
]
],
'chapters' => [
'PqRsTuVw',
'YzAbCdEf'
],
'divisions' => 2,
'applicant_max_applications' => 1,
'fill_application_name' => true,
'locked' => false,
'max_image_width' => 1200,
'parent' => 'MnOpQrSt',
'pdf_packing_slip' => true
]),
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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.us.cr4ce.com/category/{category_slug}"
payload := strings.NewReader("{\n \"status\": \"active\",\n \"translated\": {\n \"name\": {\n \"en_GB\": \"Community Development Grants\"\n },\n \"description\": {\n \"en_GB\": \"Supports projects that strengthen local community infrastructure.\"\n },\n \"application_name_label\": {\n \"en_GB\": \"Project name\"\n },\n \"image_heading\": {\n \"en_GB\": \"Project photo\"\n },\n \"packing_slip_instructions\": {\n \"en_GB\": \"Attach a signed cover sheet with the application.\"\n },\n \"shortcode\": {\n \"en_GB\": \"CDG\"\n }\n },\n \"chapters\": [\n \"PqRsTuVw\",\n \"YzAbCdEf\"\n ],\n \"divisions\": 2,\n \"applicant_max_applications\": 1,\n \"fill_application_name\": true,\n \"locked\": false,\n \"max_image_width\": 1200,\n \"parent\": \"MnOpQrSt\",\n \"pdf_packing_slip\": true\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Accept", "<accept>")
req.Header.Add("x-api-key", "<api-key>")
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.put("https://api.us.cr4ce.com/category/{category_slug}")
.header("Accept", "<accept>")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"status\": \"active\",\n \"translated\": {\n \"name\": {\n \"en_GB\": \"Community Development Grants\"\n },\n \"description\": {\n \"en_GB\": \"Supports projects that strengthen local community infrastructure.\"\n },\n \"application_name_label\": {\n \"en_GB\": \"Project name\"\n },\n \"image_heading\": {\n \"en_GB\": \"Project photo\"\n },\n \"packing_slip_instructions\": {\n \"en_GB\": \"Attach a signed cover sheet with the application.\"\n },\n \"shortcode\": {\n \"en_GB\": \"CDG\"\n }\n },\n \"chapters\": [\n \"PqRsTuVw\",\n \"YzAbCdEf\"\n ],\n \"divisions\": 2,\n \"applicant_max_applications\": 1,\n \"fill_application_name\": true,\n \"locked\": false,\n \"max_image_width\": 1200,\n \"parent\": \"MnOpQrSt\",\n \"pdf_packing_slip\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.us.cr4ce.com/category/{category_slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Accept"] = '<accept>'
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"status\": \"active\",\n \"translated\": {\n \"name\": {\n \"en_GB\": \"Community Development Grants\"\n },\n \"description\": {\n \"en_GB\": \"Supports projects that strengthen local community infrastructure.\"\n },\n \"application_name_label\": {\n \"en_GB\": \"Project name\"\n },\n \"image_heading\": {\n \"en_GB\": \"Project photo\"\n },\n \"packing_slip_instructions\": {\n \"en_GB\": \"Attach a signed cover sheet with the application.\"\n },\n \"shortcode\": {\n \"en_GB\": \"CDG\"\n }\n },\n \"chapters\": [\n \"PqRsTuVw\",\n \"YzAbCdEf\"\n ],\n \"divisions\": 2,\n \"applicant_max_applications\": 1,\n \"fill_application_name\": true,\n \"locked\": false,\n \"max_image_width\": 1200,\n \"parent\": \"MnOpQrSt\",\n \"pdf_packing_slip\": true\n}"
response = http.request(request)
puts response.read_body{
"created": "2025-01-15T09:00:00Z",
"description": {
"en_GB": "Submit your documentary films exploring real-world subjects and stories."
},
"divisions": 1,
"form": {
"slug": "GhIjKlMn",
"link": "https://api.au.cr4ce.com/form/GhIjKlMn",
"name": {
"en_GB": "Application form"
}
},
"name": {
"en_GB": "Documentary"
},
"parent": {
"slug": "KlMnOpQr",
"link": "https://api.au.cr4ce.com/category/KlMnOpQr",
"name": {
"en_GB": "Film"
}
},
"promoted": null,
"season": {
"slug": "QrStUvWx",
"link": "https://api.au.cr4ce.com/season/QrStUvWx",
"name": {
"en_GB": "2025"
}
},
"shortcode": {
"en_GB": "01"
},
"slug": "AbCdEfGh",
"status": "active",
"updated": "2025-06-20T14:30:00Z",
"chapters": [
{
"slug": "MnOpQrSt",
"link": "https://api.au.cr4ce.com/chapter/MnOpQrSt",
"name": {
"en_GB": "Film"
}
}
],
"applicant_max_applications": null,
"application_name_label": {
"en_GB": "Application title"
},
"fill_application_name": false,
"image_heading": {
"en_GB": "Category image"
},
"images": [
{
"token": "AbCdEfGhIjKlMnOp",
"link": "https://api.au.cr4ce.com/file/AbCdEfGhIjKlMnOp",
"filename": "example.png",
"download": "https://files.au.cr4ce.com/file/AbCdEfGhIjKlMnOp/example.png?Expires=1781657570&Signature=REDACTED&Key-Pair-Id=REDACTED"
}
],
"max_image_width": 300,
"packing_slip_instructions": {
"en_GB": "Attach this slip to each physical submission."
},
"pdf_packing_slip": false
}{
"message": "<string>",
"status_code": 400
}{
"message": "<string>",
"status_code": 401
}{
"message": "<string>",
"status_code": 403
}{
"message": "<string>",
"status_code": 404
}{
"message": "<string>",
"status_code": 422,
"errors": {}
}{
"message": "<string>",
"status_code": 429
}{
"status": "Maintenance in progress"
}Authorizations
Headers
Defines the languages included in the response. If non are provided, the account default language is returned.
Value all overrides any other values present.
You can request multiple languages using a comma-separated string of languages.
The selected language must be supported by your account or a 400 error is returned.
Available options:
all, ar_AR, bg_BG, bn_IN, ca_ES, cs_CZ, cy_GB, da_DK, de_DE, en_GB, en_US, el_GR, es_NN, es_LA, et_EE, fa_NN, fi_FI, fr_FR, fr_CA, he_IL, hi_IN, hr_HR, hu_HU, hy_AM, it_IT, ja_JP, ko_KR, lt_LT, ms_MY, nl_NL, nb_NO, pl_PL, pt_BR, ro_RO, ru_RU, sk_SK, sl_SI, sq_AL, sr_RS, sv_SE, sw_NN, th_TH, tr_TR, uk_UA, vi_VN, zh_CN, zh_HK Body
application/json
Category update payload.
Response
Category updated.
Grant category that applications are submitted to.