RapidEye API

Reference

Workspaces

Create one RapidEye account per customer and read its state.

Provisioning workspaces

A workspace is one of your customers. Each one maps to an account on our side where that customer's properties, inspections and reports live, and a recording link cannot be issued for a workspace that does not exist yet.

You provision them yourself; we are not in the loop. Each one has a nominated owner from the moment it exists, so your customer can claim it, open their reports and invite their team without either of us doing anything else.

POST/v1/workspaces#

Call it once, when you sign a customer. Idempotent create-or-return keyed on your workspace_id: the first call creates the account, emails owner_email a link to claim it and answers 201. Every later call answers 200 with the same company_id, and concurrent calls for one workspace all resolve to one account. There is no update or delete; a workspace is never re-pointed by an API call. Calling it for a workspace you cancelled brings that workspace back (POST /v1/workspaces/{workspace_id}/cancel).

Field Required Notes
workspace_id yes Your account or workspace id. Opaque to us: surrounding whitespace is trimmed, and what remains is stored and matched literally, never split, case-folded or normalized. Max 200 characters.
name yes The customer's display name, as it should read on their reports. Max 200 characters.
owner_email on the first call The person who will own the account. Later calls for the same workspace do not need it.
team no People to invite once the owner has claimed the account, as a list of { "email": "...", "role": "member" }, at most 50 for one workspace. role is admin or member, and defaults to member.

claim.state reads as it does on GET /v1/workspaces/{workspace_id}. expires_at and email_sent appear only on the call that nominated the owner. A call that carries team also answers a team block (Inviting a team). email_sent: false means the account and the nomination exist and the email did not go out; POST /v1/workspace-claims with the same address sends it again.

company_id is ours, the account your workspace resolves to. Store it if it helps your support team; nothing else in this API requires you to send it back, and it is never accepted in a request body.

status is provisioned, or cancelled for a workspace you cancelled, on every route that returns a workspace.

Notes worth knowing before you build against it:

  • The partner is taken from your API key. Sending partner, partner_id or company_id in the body is rejected with 400 invalid_request rather than ignored, so a wrong assumption fails loudly on your first call instead of quietly on your customer's.
  • Workspace ids are scoped to you. Another partner using the same string is a different workspace and a different account, and neither of you can see the other's.
  • A repeat call does not rename. The first call names the account; later calls return the name we currently hold. If a customer renames, tell us. A rename can cross into reports and invoices, so it is not a thing a retry should do silently.
  • owner_email follows the rules of a nomination. It is the address we mail and the only one that can claim the account (Giving your customer access to their workspace). Sending it needs write:workspace_claims as well as write:workspaces, so creating a workspace needs both. A call that will email someone counts against the claim limit, and nothing is created if it is refused.
  • A repeat call never re-nominates. With owner_email it nominates only if nobody is nominated yet, which is how a retry finishes a call that answered 503. On a workspace your key did not create, or one that already has people in it, the address is ignored and the call answers 200 with claim.state: unclaimed. Those are claim_requires_admin on POST /v1/workspace-claims: ask us to nominate. To change the address or send a new link, use POST /v1/workspace-claims.
  • A 503 service_unavailable means no email was sent. The account may already exist. Send the same call again: it answers 200 and nominates the owner.
  • team is one batch, not a sync. See Inviting a team.
  • Provisioning is rate-limited (creation only; repeat calls for an existing workspace are not). A 429 here means back off and retry, or email support if you are onboarding a batch.

The codes specific to this route:

Error When
400 missing_parameter workspace_id or name is absent or blank, or owner_email is absent or blank on the call that creates the workspace. detail.parameter names it.
400 invalid_request owner_email is a number, list or object rather than a string, or the body names partner, partner_id or company_id, or team is not a list, names more than 50 people for the workspace, or has an entry that is not an object or a role we cannot give. detail.parameter names it, and detail.index the entry. Nothing was created or held.
400 invalid_email owner_email, or an address in team, is not one we can send to. detail.parameter names it, and detail.index the entry. Nothing was created or held.
403 insufficient_scope The call carries owner_email or team and the key does not hold write:workspace_claims. Nothing was created. detail.required_scope names it.
413 payload_too_large The body is over 32,768 bytes (32 KB). A full team of 50 at the longest addresses fits with room for indentation. detail.limit_bytes names it. Nothing was created.
429 too_many_requests Too many new workspaces, or more than 10 claims from your integration in an hour. Nothing was created.
503 service_unavailable The nomination could not be processed. No email was sent. Send the same call again.
Shell
curl -sS -X POST https://api.rapideyeinspections.com/v1/workspaces \
  -H "Authorization: Bearer rapideye_pk_REPLACE_ME" \
  -H "Content-Type: application/json" \
  -d '{"workspace_id": "ws_123", "name": "Sunset Property Management", "owner_email": "[email protected]"}'
JSON
{
  "workspace_id": "ws_123",
  "name": "Sunset Property Management",
  "company_id": "7c3f1a90-2c44-4b6d-9e01-7a5c2f8e1d33",
  "status": "provisioned",
  "provisioned_at": "2026-08-13T14:02:11Z",
  "claim": {
    "state": "pending",
    "expires_at": "2026-08-20T14:02:11Z",
    "email_sent": true
  }
}

Inviting a team

Send team to give the customer's people their logins without the owner typing them in. Nobody on the list hears from us until the owner has claimed the account. Then each address gets an ordinary team invite in your name, valid for 7 days, in the role you gave. The owner sees each invite on their Team page and can resend or revoke it. If the owner never claims, nobody on the list is invited.

JSON
{
  "workspace_id": "ws_123",
  "name": "Sunset Property Management",
  "owner_email": "[email protected]",
  "team": [
    { "email": "[email protected]", "role": "admin" },
    { "email": "[email protected]" }
  ]
}

The answer gains a block saying what became of the list:

JSON
{ "team": { "state": "held", "count": 2 } }
team.state Meaning
held The list is waiting for the owner to claim. count is how many people it holds in all.
owner_manages The owner has claimed, or people are already in the account, or your key did not create the workspace. The list was ignored and nothing was sent.
  • You can add to the list until the owner claims. Call POST /v1/workspaces again with team. An address already on the list changes nothing, and the first role you gave it stands.
  • After that the team is the owner's. They invite and remove people in RapidEye. This is a one-time batch, not a sync: someone you remove on your side keeps their access until the owner removes them.
  • What a role allows. An admin can also manage the team, billing and integrations. A member is not read-only: they can do the day-to-day work of the workspace, including changing things.
  • The owner's own address is never invited if it appears in team, because they are already in. It still counts toward the 50.
  • It does not count against the claim limit, and it needs write:workspace_claims.

GET/v1/workspaces/{workspace_id}#

Everything you need to know about one workspace: whether it is provisioned, how current its roster is, whether we are polling a feed, whether inspections are switched on, and whether an owner has claimed it. This is the endpoint your onboarding flow polls.

Four blocks, because there are four different questions and a different party acts on each one.

Block Field Meaning
roster revision Increments on every applied import. Also returned by GET /v1/recording-link.
roster state unconfirmed before your first import, then fresh, then stale once observed_at is more than 48 hours old. Warn only; a stale roster never blocks a recording.
roster observed_at The observed_at you sent on the latest applied import, which is when your snapshot described your inventory, not when we applied it.
roster last_source push or pull.
roster present_count Properties in the latest snapshot.
roster inactive_count Properties we have seen before that the latest snapshot left out.
roster unconfirmed_count Properties we hold that no validated roster has confirmed. Non-zero only during onboarding; it should reach zero after your first import.
roster missing_address_count Present properties that carry address_unavailable_reason instead of an address.
roster billing_active_count Properties switched on for inspections. Set by each applied import, except a property a person switched off in RapidEye, which stays off.
sync mode push if you send rosters, pull if we poll a feed you host.
sync health not_configured, never_run, ok or failing.
service state pending_setup until the first roster import applies, then enabled a few seconds later. paused while we have taken the account out of service. cancelled while you have cancelled the workspace.
service recording_enabled Whether GET /v1/recording-link will issue links at all.
claim state unclaimed, pending (an invite is outstanding) or claimed.

404 workspace_not_provisioned otherwise. 503 service_unavailable when we could not read the account's state just now, rather than a service.state we are not sure of; retrying is safe. The id is matched literally and has to survive as one path segment, so percent-encode anything reserved (/, ?, #). A workspace belonging to another partner returns the same 404 as one that does not exist anywhere.

POST /v1/workspaces returns the first five fields and claim only. At the instant a workspace is provisioned every count is zero and every other state is its initial one, so there is nothing for the other three blocks to say.

Shell
curl -sS https://api.rapideyeinspections.com/v1/workspaces/ws_123 \
  -H "Authorization: Bearer rapideye_pk_REPLACE_ME"
JSON
{
  "workspace_id": "ws_123",
  "name": "Sunset Property Management",
  "company_id": "7c3f1a90-2c44-4b6d-9e01-7a5c2f8e1d33",
  "status": "provisioned",
  "provisioned_at": "2026-08-13T14:02:11Z",
  "roster": {
    "revision": 4,
    "state": "fresh",
    "roster_confirmed_at": "2026-09-16T06:12:00Z",
    "observed_at": "2026-09-16T06:00:00Z",
    "last_source": "push",
    "present_count": 128,
    "inactive_count": 3,
    "unconfirmed_count": 0,
    "missing_address_count": 2,
    "billing_active_count": 121
  },
  "sync": { "mode": "push", "health": "not_configured" },
  "service": { "state": "enabled", "recording_enabled": true },
  "claim": { "state": "claimed" }
}

POST/v1/workspaces/{workspace_id}/cancel#

Call it when a customer leaves you. Their account is paused, so their service stops at once, and their data is kept. No body.

200 with the workspace, as GET /v1/workspaces/{workspace_id} returns it:

From the moment it answers:

  • Nothing new is recorded or delivered. GET /v1/recording-link answers 409 workspace_not_enabled, and a link you already handed out no longer starts an inspection.
  • Everything is kept, and every read keeps working: the roster, the inspections and the reports. Each home keeps its own switch, which billing_active on GET /v1/properties still shows and which applies again when you bring the workspace back. Anyone else who reads those homes, such as a reservations partner the customer connected or the customer's own workspace key, sees them inactive meanwhile, as for an account we have paused.
  • Roster imports still apply, so a workspace you bring back has your current list. If we poll a feed you host, we stop polling it while the workspace is cancelled; POST /v1/roster-syncs runs one on demand.

It is idempotent: calling it for a workspace that is already cancelled answers 200 with the same body and changes nothing. If we had already paused the account, it stays our pause: the answer reads service.state: paused, and only we set it back.

Bringing it back. Call POST /v1/workspaces with the same workspace_id. It answers 200 with the same company_id and status reads provisioned again. It lifts only your own cancel, never a pause of ours, so confirm with GET /v1/workspaces/{workspace_id}: its service.state reads enabled once the workspace is back in service with its roster and history, and paused while our pause stands.

Only an account your integration alone owns can be cancelled: one your own POST /v1/workspaces created, that your customer has not claimed, with no other workspace on it. For any other, such as an account we linked to your workspace by hand because the customer was already with us, or one whose claim.state reads claimed because your customer's own people now run it, the call answers 409 workspace_not_cancellable and changes nothing; email support to end it.

404 workspace_not_provisioned for a workspace you have not provisioned, or one belonging to another partner. 503 service_unavailable when we could not read the account's state just now; retrying is safe.

Shell
curl -sS -X POST https://api.rapideyeinspections.com/v1/workspaces/ws_123/cancel \
  -H "Authorization: Bearer rapideye_pk_REPLACE_ME"
JSON
{
  "workspace_id": "ws_123",
  "name": "Sunset Property Management",
  "company_id": "7c3f1a90-2c44-4b6d-9e01-7a5c2f8e1d33",
  "status": "cancelled",
  "provisioned_at": "2026-08-13T14:02:11Z",
  "roster": {
    "revision": 4,
    "state": "fresh",
    "roster_confirmed_at": "2026-11-03T06:12:00Z",
    "observed_at": "2026-11-03T06:00:00Z",
    "last_source": "push",
    "present_count": 128,
    "inactive_count": 3,
    "unconfirmed_count": 0,
    "missing_address_count": 2,
    "billing_active_count": 121
  },
  "sync": { "mode": "push", "health": "not_configured" },
  "service": { "state": "cancelled", "recording_enabled": false },
  "claim": { "state": "unclaimed" }
}

GET /v1/workspaces (task systems)

Every workspace you provisioned, each with the first five fields POST /v1/workspaces returns (a cancelled one reads status: cancelled), ordered by workspace_id. limit (1 to 500, default 100) and cursor page it as on every list; next_cursor is absent on the last page.

JSON
{ "workspaces": [ { "workspace_id": "ws_123", "name": "Sunset Property Management", "status": "provisioned", "...": "..." } ],
  "next_cursor": "d3NfMTI0" }

A key for the reservations routes gets its connected customers here instead; see Reservations: properties and stays.

We do not match your workspace to an existing RapidEye account

A new workspace_id always gets a new, empty account, even when the property manager behind it is already a RapidEye customer under their own contract. We do not match on company name, on email domain, or on anything else.

This is a decision, not a gap. A duplicate account is something we merge in a few minutes. A wrong match silently routes one operator's inspections, reports and recording links into another operator's account, and every API call keeps answering 200 while it happens. If you know a customer of yours is already with us, tell us and we will link the two by hand.

What a freshly provisioned account can do

Nothing yet, on purpose. Nobody can sign in against it, and it has no notification destinations, no properties and no active properties. It is a routing destination. Properties arrive when you import a roster, and the account switches on for inspections when that import applies; people arrive through a workspace claim.