# Ordering an Inspection by API

> Send one create call with your project details, then save the project and inspection IDs RAZE returns for every later call.

Product: RAZE Developer Portal
Source: https://getaraze.com/tools/api-order-inspection
All guides: https://getaraze.com/tools

## Quick Reference

- Open Documentation, then Create Inspection, then Create / order inspection.
- Send your institution codes and the project details, in Upper Camel Case.
- Save the project ID and inspection ID from the response.
- Reuse the same project GUID for every later inspection on that project.

## Before You Start

- You have a valid access token (see Getting an Access Token).
- You have your institution codes for this environment and a unique GUID for the project from your system.

## Step 1: Build the Request

**Open the create call.** In Documentation, open Create Inspection and select Create / order inspection. Step 2 of the Explanation guide has a full sample request you can copy.

**Fill in both parts.** The request has two parts. The header carries the institution codes RAZE issued for this environment. The project carries your project GUID, the property address and the general contractor's contact details. Field names use Upper Camel Case.

## Step 2: Send It and Save the IDs

**Send the call.** Send the request with your Bearer token. RAZE creates the inspection, and the project too when this is its first inspection.

**Save both IDs.** The response returns a project ID and an inspection ID. Store both with the loan record: later calls and support requests use them.

## Step 3: Order the Next Inspection

**Reuse the project GUID.** For the next inspection on the same project, send the same project GUID so every inspection lands on that project.

## Step 4: Verify the Order

**Get the inspection.** Under Check Status, get the inspection with its inspection ID. It returns the line items, photos, documents, notes, status and audit history, so you can confirm each step landed.

## Tips

**DO**
- Create one GUID per project in your system and keep it with the loan.
- Save the IDs from the response before anything else.
- Verify each new inspection with a Check Status call.

**WATCH FOR**
- Match the Upper Camel Case field names exactly.
- Don't make a new GUID for a project RAZE already has.
- A Production order goes to a live inspector, so build against Stage.

## Troubleshooting

**Q: Do I create the project first?**
A: No. On the External System path, the create call creates the project with its first inspection. Don't call project creation or project search.

**Q: Where's a full sample request?**
A: In the Explanation guide, step 2 Create Inspection. The API reference lists every field.

**Q: We lost the IDs from the response.**
A: Contact RAZE support with your project GUID, the environment and the time of the call.

## Need Help?

Email RAZE support at contact@getaraze.com, or send a support request from https://getaraze.com/tools.
