---
title: "Create an Opportunity"
method: POST
path: "/api/record/opportunity"
---

# Create an Opportunity

`POST /api/record/opportunity`

## Request body

- object
  - `accountid` string, required — The related account's GUID.
  - `name` string, required — Name of the opportunity (Primary).
  - `closeprobability` number, float — Probability the opportunity will close successfully.
  - `contacttid` string — The related contact's GUID.
  - `description` string — Description of up to 4,000 characters.
  - `estimatedclosedate` string, date — Estimated date and time the deal will be closed by.
  - `estimatedvalue` number, float — Estimated total value of the deal.
  - `ownerid` string — The GUID of the system user who created the record, can also be set manually. Will be used for permissions.
  - `statuscode` integer — Status (Picklist)

## Response `200`

200

## Other responses

- `400` — 400
- `401` — 401

---

[API](https://skmtc.net/fireberry/apis/fireberry-api.md) · [All operations](https://skmtc.net/fireberry/apis/fireberry-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fireberry/fireberry-api/versions/ad6720f3920f/schema)
