Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • Developing with Sitecore CDP
    • Base URL
    • Response codes
    • REST API Guest v2.1
    • REST API Guest data extension v2.1
    • REST API Order v2.1
    • REST API Order contact v2.1
    • REST API Order consumer v2.1
    • REST API Order data extension v2.1
    • REST API Order item data extension v2.1
    • REST API Audience export
  1. REST APIs
  1. Sitecore CDP Developer Documentation
  2. REST APIs

Response codes

Sitecore CDP services follow standard RESTful conventions for response codes under both normal and error conditions.

The following are response codes for create operations and update operations:

Response codeDescription
201 CREATEDThe request was successful, a new resource was created, and the response body contains the representation. The href field contains the new resources canonical URI.
400 BAD REQUESTThe data that was sent failed validation. Inspect the response body for details.
401 UNAUTHORIZEDThe authorization details were incorrect.
404 NOT FOUNDThe resource was not found.
415 UNSUPPORTED MEDIA TYPEThe media type specified is not supported.
500 SERVER ERRORWe could not create or update the resource. Please try again. Make sure to specify Content-Type: application/json in the header.
503 SERVICE UNAVAILABLEServer serving request temporarily down. Try again immediately as servers are clustered.

The following are response codes for delete operations:

Response codeDescription
200 OKThe request was successful. The resource was successfully deleted.
400 BAD REQUESTBad request. Inspect the response body for details.
401 UNAUTHORIZEDThe authorization details were incorrect.
404 NOT FOUNDThe resource was not found.
415 UNSUPPORTED MEDIA TYPEThe media type specified is not supported.
500 SERVER ERRORWe could not delete the resource. Please try again. Make sure to specify Content-Type: application/json in the header.
503 SERVICE UNAVAILABLEServer serving request temporarily down. Try again immediately as servers are clustered.

The following are response codes for locate operations:

Response codeDescription
200 OKThe request was successful, and the response body contains the list.
400 BAD REQUESTThe data that was sent failed validation. Inspect the response body for details.
401 UNAUTHORIZEDThe authorization details were incorrect.
404 NOT FOUNDThe resource was not found.
415 UNSUPPORTED MEDIA TYPEThe media type specified is not supported.
500 SERVER ERRORWe could not fetch the resource. Please try again. Make sure to specify Content-Type: application/json in the header.
503 SERVICE UNAVAILABLEServer serving request temporarily down. Try again immediately as servers are clustered.

The following are the attributes contained in the response:

AttributeDescription
statusThe corresponding HTTP status code.
codeAn error code that can be used to obtain more information.
messageA simple, easy to understand message that you can show directly to your application end-user.
developerMessageA clear, plain-text explanation with technical details that assists a developer calling the APIs.
moreInfoA fully qualified URL that might be accessed to obtain more information about the error.
If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use