CRADDevelopers
English

Recover the original profile-write receipt

Before going live — check deployed capabilities, grants and your integration’s readiness.

Check deployed capabilities, key grants and business readiness in your environment. HTTP examples were captured in isolated tests; their local-unreleased provenance neither says the API is offline nor certifies your integration. Customer self-service uses the business-configured WhatsApp authentication template; SMS is not supported. Authorized admin contact recording is a separate action without a code.

GET/v1/management/whatsapp-profile/operations/{operationId}

Behavior

Backend-only Management credential; no Origin header or caller-selected business/phone/WABA/token. Lookup only; no provider write. Save and preserve its requestHash and original request. Requires whatsapp-profile:read and whatsapp-profile:write. Current connection and provider prerequisites are checked separately; a stored grant does not establish readiness.

Authentication

ManagementCredential

Credential rules

One server-only owner-issued wbm_ API key can carry both management and integration permissions. Additional permissions require an explicit owner-issued grant. GET /v1/management returns the management discovery view, which may be empty for a booking-only key. For credentials with appointments:read, this discovery view omits whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write to preserve calendar-client compatibility. Discover these grants through GET /v1/management/messaging-capabilities. Template/profile command authorization still uses the stored grants. Server-only owner-issued Management authority with explicit application permissions. Calling this API does not expand a credential's grants. contacts:read/write/block/sync/fields:read/fields:write are separate approvals for canonical business contacts; fields also require current typed owner grants. contacts:record remains contact recording/recovery only. These grants create no customer phone proof, booking authority, messaging consent or automatic synchronization. Hours/blocks retain their independent resource grants. booking-policy:read/write separately delegate whole-business booking settings, without schedule/provider grants; write requires read. They preserve existing appointments and create no duration-rewrite authority. Provider duration policy additionally requires explicit provider-booking-policy:read/write and exact current providerIds; booking-duration:rewrite is separately approved and does not itself grant policy read/write. Service catalogue requires explicit services:read/write, independent of provider/calendar/schedule resources; write requires read. These operations do not expand an existing credential's grants. Public presentation and reviewed service selection require explicit website-content:read/write; write requires read, independently from services:* and provider resources. Existing provider metadata/activity/assignment additionally requires providers:read/write and a nonempty explicit current providerIds grant; write requires read. This grants no provider creation, deletion, login, invitation or schedule authority. WhatsApp template/profile management requires separate whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write application scopes. Write requires its matching read scope. These grants require explicit owner approval; Meta OAuth permissions remain separate.

Required application permissions

whatsapp-profile:readwhatsapp-profile:write

Request

  • operationIdpath · stringRequired
    Format and constraints
    operationId schema
    {
      "type": "string",
      "format": "uuid"
    }

Successful responses

200 · application/json

Current authorized profile or operation result. Inspect the operation state; this endpoint does not send a customer message.

Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json

Exactly one of these variants must match.

  • oneOf 1 · kind = "profile"object; allOf (unspecified)Schema branch

    One reserved provider write at most. An unresolved write blocks another profile operation on this connection. Pending ages to unknown after the claim window. Text-only reconciliation uses a provider read. A native owner/super-admin can explicitly review an uncertain operation: reviewed acknowledges uncertainty without claiming the provider applied it, permits a separately reviewed new PATCH with fresh ETag/UUID, and remains terminal for the original UUID. Server keys cannot perform this review.

    All of these schema rules apply together.

    View branch fields and rules
    • operationIdstring · uuidRequired in this branch
    • requestHashstringRequired in this branch

      pattern: "^[a-f0-9]{64}$"

    • statestringRequired in this branch

      Allowed values: ["pending","committed","rejected","unknown","reviewed"]

    • errorCodestring | nullRequired in this branch

      pattern: "^[a-z_]{1,80}$"

    • createdAtstring · date-timeRequired in this branch
    • completedAtstring | null · date-timeRequired in this branch
    • replayedbooleanRequired in this branch
    • kindstringRequired in this branch

      Value: "profile"

    • requestobjectRequired in this branch
      View nested fields
      • expectedVersionstringRequired in this branch

        pattern: "^wp[a-f0-9]{64}$"

      • patchobjectRequired in this branch

        Changed fields only. CRAD input caps; omitted fields are preserved. imageUploadId must be a ready current-binding business_profile image from the resumable image endpoint. Raw handles, URLs and caller-selected phone/WABA IDs are refused. about cannot be blank; vertical cannot be cleared.

        minProperties: 1

        View nested fields
        • aboutstringOptional in this branch

          minLength: 1maxLength: 139

        • addressstringOptional in this branch

          maxLength: 256

        • descriptionstringOptional in this branch

          maxLength: 512

        • emailstringOptional in this branch

          Empty clears the value; a nonempty value must be a valid email address.

          maxLength: 128

        • websitesarrayOptional in this branch

          maxItems: 2

          View nested fields
          • []string · uriArray item

            No username/password.

            pattern: "^https?://"maxLength: 256

        • verticalstringOptional in this branch

          Allowed values: ["UNDEFINED","OTHER","AUTO","BEAUTY","APPAREL","EDU","ENTERTAIN","EVENT_PLAN","FINANCE","GROCERY","GOVT","HOTEL","HEALTH","NONPROFIT","PROF_SERVICES","RETAIL","TRAVEL","RESTAURANT","NOT_A_BIZ"]

        • imageUploadIdstring · uuidOptional in this branch
        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • uploadnullRequired in this branch
    • reviewedAtstring | null · date-timeOptional in this branch

      Timestamp of an explicit native owner/super-admin review, otherwise null. reviewed releases the unresolved-write fence without claiming Meta applied the prior request. No reviewer identity is disclosed. Older producers may omit this member.

    • allOf 1unspecifiedSchema branch
      View branch fields and rules
      • ifobjectSchema rule
        View branch fields and rules
        • statestringCondition predicate

          Value: "reviewed"

      • thenobjectSchema rule
        View branch fields and rules
        • reviewedAtstring · date-timeRequired in this branch
      • elseobjectSchema rule
        View branch fields and rules
        • reviewedAtnullOptional in this branch
    • additionalPropertiesno value allowedSchema rule
  • oneOf 2 · status = "not_found"objectSchema branch

    No visible receipt exists at this instant. This is not proof that a concurrent operation was cancelled or that a fresh UUID is safe.

    View branch fields and rules
    • statusstringRequired in this branch

      Value: "not_found"

    • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "operationId": {
          "type": "string",
          "format": "uuid"
        },
        "requestHash": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "state": {
          "enum": [
            "pending",
            "committed",
            "rejected",
            "unknown",
            "reviewed"
          ]
        },
        "errorCode": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^[a-z_]{1,80}$"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "completedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "replayed": {
          "type": "boolean"
        },
        "kind": {
          "const": "profile"
        },
        "request": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "expectedVersion": {
              "type": "string",
              "pattern": "^wp[a-f0-9]{64}$"
            },
            "patch": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "about": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 139
                },
                "address": {
                  "type": "string",
                  "maxLength": 256
                },
                "description": {
                  "type": "string",
                  "maxLength": 512
                },
                "email": {
                  "type": "string",
                  "description": "Empty clears the value; a nonempty value must be a valid email address.",
                  "maxLength": 128
                },
                "websites": {
                  "type": "array",
                  "maxItems": 2,
                  "items": {
                    "type": "string",
                    "format": "uri",
                    "pattern": "^https?://",
                    "description": "No username/password.",
                    "maxLength": 256
                  }
                },
                "vertical": {
                  "enum": [
                    "UNDEFINED",
                    "OTHER",
                    "AUTO",
                    "BEAUTY",
                    "APPAREL",
                    "EDU",
                    "ENTERTAIN",
                    "EVENT_PLAN",
                    "FINANCE",
                    "GROCERY",
                    "GOVT",
                    "HOTEL",
                    "HEALTH",
                    "NONPROFIT",
                    "PROF_SERVICES",
                    "RETAIL",
                    "TRAVEL",
                    "RESTAURANT",
                    "NOT_A_BIZ"
                  ]
                },
                "imageUploadId": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "required": [],
              "minProperties": 1,
              "description": "Changed fields only. CRAD input caps; omitted fields are preserved. imageUploadId must be a ready current-binding business_profile image from the resumable image endpoint. Raw handles, URLs and caller-selected phone/WABA IDs are refused. about cannot be blank; vertical cannot be cleared."
            }
          },
          "required": [
            "expectedVersion",
            "patch"
          ]
        },
        "upload": {
          "type": "null"
        },
        "reviewedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Timestamp of an explicit native owner/super-admin review, otherwise null. reviewed releases the unresolved-write fence without claiming Meta applied the prior request. No reviewer identity is disclosed. Older producers may omit this member."
        }
      },
      "required": [
        "operationId",
        "requestHash",
        "state",
        "errorCode",
        "createdAt",
        "completedAt",
        "replayed",
        "kind",
        "request",
        "upload"
      ],
      "description": "One reserved provider write at most. An unresolved write blocks another profile operation on this connection. Pending ages to unknown after the claim window. Text-only reconciliation uses a provider read. A native owner/super-admin can explicitly review an uncertain operation: reviewed acknowledges uncertainty without claiming the provider applied it, permits a separately reviewed new PATCH with fresh ETag/UUID, and remains terminal for the original UUID. Server keys cannot perform this review.",
      "allOf": [
        {
          "if": {
            "properties": {
              "state": {
                "const": "reviewed"
              }
            },
            "required": [
              "state"
            ]
          },
          "then": {
            "required": [
              "reviewedAt"
            ],
            "properties": {
              "reviewedAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          },
          "else": {
            "properties": {
              "reviewedAt": {
                "type": "null"
              }
            }
          }
        }
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "status": {
          "const": "not_found"
        }
      },
      "required": [
        "status"
      ],
      "description": "No visible receipt exists at this instant. This is not proof that a concurrent operation was cancelled or that a fresh UUID is safe."
    }
  ]
}

Errors and recovery

Error responses declared in the contract (8)

The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.

401 · Missing or invalid server credential.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
403 · Scope, credential, integration or business authority denied; browser Origin is refused.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
404 · Owned resource or usable same-purpose current-binding image not found.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
405 · Unsupported HTTP method.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
409 · Connection changed/blocked, conflicting operation UUID, unresolved write, expired claim or owner review required. No automatic provider redispatch.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
422 · Invalid/unknown field, unsupported selector/query, UUID, precondition or template shape.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
429 · Credential/request or local template rate limit; honor Retry-After when supplied.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
503 · Configuration, provider or persistence unavailable; retain original operation identity because outcome may be uncertain.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}