cURL
curl --request POST \
--url 'https://www.rainbrand.com/api/v1/brands/e6220a5e-4a68-4d39-8bb9-5105e9a3a164/edits/22f07ed4-665a-46de-9843-b271e2e3d247/interactions/3c5ef412-8b9b-47a9-a317-c288d62c5ad8/responses' \
--header "x-api-key: $RAINBRAND_API_KEY" \
--header 'idempotency-key: acme-atlas-pro-color-answer' \
--header "Content-Type: application/json" \
--data '{
"response": {
"kind": "answer",
"text": "Use burgundy #6D1A36 for all Atlas Pro materials, including packaging and social media."
}
}'{
"data": {
"id": "22f07ed4-665a-46de-9843-b271e2e3d247",
"brandId": "e6220a5e-4a68-4d39-8bb9-5105e9a3a164",
"baseSkillId": "6590fb89-c177-45b3-85d4-74ab6b92dc2a",
"target": null,
"changeSet": null,
"targetProfile": null,
"interaction": null,
"replacement": null,
"changeSummary": null,
"statusMessage": "Preparing Acme Inc.'s brand update.",
"error": null,
"createdAt": "2026-10-24T09:00:00.000Z",
"updatedAt": "2026-10-24T09:00:00.000Z",
"status": "preparing"
}
}{
"error": {
"code": "INVALID_RESPONSE",
"status": 400,
"message": "Invalid Brand Edit interaction response",
"data": "<unknown>"
}
}{
"error": {
"code": "UNAUTHORIZED",
"status": 401,
"message": "Invalid or missing API credentials",
"data": "<unknown>"
}
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"status": 402,
"message": "Not enough credits to continue this edit",
"data": {
"action_url": "<string>",
"credits_required": 123,
"balance": 123,
"pricing_version": 0
}
}
}{
"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": "IDEMPOTENCY_CONFLICT",
"status": 409,
"message": "Idempotency-Key was already used with a different request",
"data": "<unknown>"
}
}{
"error": {
"code": "TOO_MANY_REQUESTS",
"status": 429,
"message": "Rate limit exceeded",
"data": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"status": 500,
"message": "Brand edit request failed",
"data": "<unknown>"
}
}Brand Edits
Continue a Brand Edit
Answer a Brand Edit’s request for input so preparation can continue without applying it. Check the result with Get a Brand Edit.
POST
/
brands
/
{id}
/
edits
/
{editId}
/
interactions
/
{interactionId}
/
responses
cURL
curl --request POST \
--url 'https://www.rainbrand.com/api/v1/brands/e6220a5e-4a68-4d39-8bb9-5105e9a3a164/edits/22f07ed4-665a-46de-9843-b271e2e3d247/interactions/3c5ef412-8b9b-47a9-a317-c288d62c5ad8/responses' \
--header "x-api-key: $RAINBRAND_API_KEY" \
--header 'idempotency-key: acme-atlas-pro-color-answer' \
--header "Content-Type: application/json" \
--data '{
"response": {
"kind": "answer",
"text": "Use burgundy #6D1A36 for all Atlas Pro materials, including packaging and social media."
}
}'{
"data": {
"id": "22f07ed4-665a-46de-9843-b271e2e3d247",
"brandId": "e6220a5e-4a68-4d39-8bb9-5105e9a3a164",
"baseSkillId": "6590fb89-c177-45b3-85d4-74ab6b92dc2a",
"target": null,
"changeSet": null,
"targetProfile": null,
"interaction": null,
"replacement": null,
"changeSummary": null,
"statusMessage": "Preparing Acme Inc.'s brand update.",
"error": null,
"createdAt": "2026-10-24T09:00:00.000Z",
"updatedAt": "2026-10-24T09:00:00.000Z",
"status": "preparing"
}
}{
"error": {
"code": "INVALID_RESPONSE",
"status": 400,
"message": "Invalid Brand Edit interaction response",
"data": "<unknown>"
}
}{
"error": {
"code": "UNAUTHORIZED",
"status": 401,
"message": "Invalid or missing API credentials",
"data": "<unknown>"
}
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"status": 402,
"message": "Not enough credits to continue this edit",
"data": {
"action_url": "<string>",
"credits_required": 123,
"balance": 123,
"pricing_version": 0
}
}
}{
"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": "IDEMPOTENCY_CONFLICT",
"status": 409,
"message": "Idempotency-Key was already used with a different request",
"data": "<unknown>"
}
}{
"error": {
"code": "TOO_MANY_REQUESTS",
"status": 429,
"message": "Rate limit exceeded",
"data": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"status": 500,
"message": "Brand edit request failed",
"data": "<unknown>"
}
}Authorizations
apiKeybeareroauth
Headers
Path Parameters
Was this page helpful?