cURL
curl --request POST \
--url 'https://www.rainbrand.com/api/v1/brands/e6220a5e-4a68-4d39-8bb9-5105e9a3a164/exports' \
--header "x-api-key: $RAINBRAND_API_KEY"{
"data": {
"id": "e6220a5e-4a68-4d39-8bb9-5105e9a3a164",
"skillId": "6590fb89-c177-45b3-85d4-74ab6b92dc2a",
"status": "preparing"
}
}{
"error": {
"code": "UNAUTHORIZED",
"status": 401,
"message": "Invalid or missing API credentials",
"data": "<unknown>"
}
}{
"error": {
"code": "ACCOUNT_BANNED",
"status": 403,
"message": "This account has been suspended.",
"data": "<unknown>"
}
}{
"error": {
"code": "BRAND_NOT_FOUND",
"status": 404,
"message": "Brand not found",
"data": "<unknown>"
}
}{
"error": {
"code": "BRAND_SKILL_UNAVAILABLE",
"status": 409,
"message": "Brand has no exportable Skill",
"data": "<unknown>"
}
}{
"error": {
"code": "TOO_MANY_REQUESTS",
"status": 429,
"message": "Rate limit exceeded",
"data": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"status": 500,
"message": "Failed to request Brand export",
"data": "<unknown>"
}
}Brand Skills
Export a Brand Skill
Prepare a downloadable ZIP of the active Brand Skill. Retrieve the download with Get a Brand Skill export.
POST
/
brands
/
{id}
/
exports
cURL
curl --request POST \
--url 'https://www.rainbrand.com/api/v1/brands/e6220a5e-4a68-4d39-8bb9-5105e9a3a164/exports' \
--header "x-api-key: $RAINBRAND_API_KEY"{
"data": {
"id": "e6220a5e-4a68-4d39-8bb9-5105e9a3a164",
"skillId": "6590fb89-c177-45b3-85d4-74ab6b92dc2a",
"status": "preparing"
}
}{
"error": {
"code": "UNAUTHORIZED",
"status": 401,
"message": "Invalid or missing API credentials",
"data": "<unknown>"
}
}{
"error": {
"code": "ACCOUNT_BANNED",
"status": 403,
"message": "This account has been suspended.",
"data": "<unknown>"
}
}{
"error": {
"code": "BRAND_NOT_FOUND",
"status": 404,
"message": "Brand not found",
"data": "<unknown>"
}
}{
"error": {
"code": "BRAND_SKILL_UNAVAILABLE",
"status": 409,
"message": "Brand has no exportable Skill",
"data": "<unknown>"
}
}{
"error": {
"code": "TOO_MANY_REQUESTS",
"status": 429,
"message": "Rate limit exceeded",
"data": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"status": 500,
"message": "Failed to request Brand export",
"data": "<unknown>"
}
}Was this page helpful?