CrmDeal

Get Deal

GET
Get details of a deal

Path parameters

idstringRequired

Headers

x-revert-api-tokenstringRequired
Your official API key for accessing revert apis.
x-revert-t-idstringRequired
The unique customer id used when the customer linked their account.
x-api-versionstringOptional
Optional Revert API version you're using. If missing we default to the latest version of the API.

Query parameters

fieldsstringOptional

Response

This endpoint returns an object
status
enum
Allowed values: okerror
result
object
GET
$curl -G https://api.revert.dev/crm/deals/%3Aid \
> -H "x-revert-api-token: string" \
> -H "x-revert-t-id: string" \
> -H "x-api-version: string" \
> -d fields=string
Response
1{
2 "status": "ok",
3 "result": {
4 "amount": 0,
5 "createdTimestamp": {},
6 "expectedCloseDate": {},
7 "id": "string",
8 "isWon": true,
9 "name": "string",
10 "probability": 0,
11 "remoteId": "string",
12 "stage": "string",
13 "updatedTimestamp": {},
14 "additional": {},
15 "priority": "string"
16 }
17}