Build with Estii

Get a deal

GET
/v1/deal/{id}

Requires read scope.

Authorization

bearerAuth
AuthorizationBearer <token>

A personal access token (estp_) or space API key (ests_).

In: header

Path Parameters

id*string

Query Parameters

space*string
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/deal/string?space=string"
{  "deal": {    "id": "string",    "name": "string",    "status": "string",    "updated_at": 0,    "space_id": "string",    "currency": "string",    "price": 0,    "margin": 0,    "probability": 0,    "archived": true,    "created_at": 0,    "owner_email": "string",    "description": "string",    "target_price": 0,    "target_margin": 0,    "start": 0,    "due": 0,    "closed_reason": "string",    "pending_at": 0,    "requested_by_email": "string",    "requested_to_email": "string"  },  "overview": {    "currency": "string",    "external_id": "string",    "probability": 0,    "price": 0,    "cost": 0,    "margin": 0,    "roles": 0,    "duration": "string",    "start": 0,    "end": 0,    "due": 0,    "approved": 0,    "closed": 0,    "closed_reason": "string",    "phases": [      {        "id": "string",        "name": "string",        "duration": "string",        "resources": "string",        "workdays": 0,        "margin": 0,        "price": 0      }    ],    "estimates": [      {        "type": "category",        "id": "string",        "name": "string",        "scope": "string",        "workdays": 0,        "cost": 0,        "margin": 0,        "price": 0      }    ],    "milestones": [      {        "id": "string",        "name": "string",        "date": 0,        "price": 0,        "price_percent": 0,        "progress": 0      }    ]  }}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}