# Get deal by id
You can return information about a specific deal by using a deal_id.
GET
/deals-by-id/:deal_id/
Attributes | Type | Required | Description |
---|---|---|---|
deal_id | string | no | The unique identifier for the deal which is provided by the client. |
# Request
- CURL
- JavaScript
- PHP
- Python
curl -X GET -H
"Authorization: Token <your_64_char_api_key> " "https://<your_app_subdomain>.user.com/api/public/deals-by-id/:deal_id/"
# Response
{
"id": 12218,
"name": "example deal",
"value": "1250.00",
"currency": "USD",
"deal_id": " /<:deal_id>",
"stage": 36585,
"pipeline": 6179,
"assigned_to": 398,
"restricted_to": null,
"agent": null,
"company": 768,
"person": 20900530,
"status": 1,
"scope": 2,
"created_by": 382,
"created_at": "2017-09-06T09:53:50.748535Z",
"updated_at": "2017-09-06T09:53:50.748555Z",
"activities_status": "no planned",
"expected_close_date": null,
"loss_reason": null,
"loss_reason_description": ""
}