Skip to main content
GET
https://prod-api.raisedonors.com
/
api
/
Project
/
code-exists
Check if Project Code Exists
curl --request GET \
  --url https://prod-api.raisedonors.com/api/Project/code-exists \
  --header 'Authorization: <api-key>'
{
  "doesExist": true,
  "hasErrors": true,
  "existsIn": [
    "<string>"
  ],
  "errorsIn": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Query Parameters

projectCode
string

The project code to verify

Response

OK

Represents the response indicating whether a project code exists and the locations where it is found.

doesExist
boolean
read-only

Gets a bool indicating whether the project code exists in any context.

hasErrors
boolean
read-only

Gets a bool indicating whether there were errors checking for the project code in any context.

existsIn
string[] | null

Gets the collection of strings representing the contexts where the item exists.

errorsIn
string[] | null

Gets the collection of strings representing the contexts where there were errors checking for existence.

Last modified on June 5, 2026