# Get Project Details

{% hint style="danger" %}

## Project Management API is disabled from Feb 1st, 2023 onwards, so any request made to this en point will fail

{% endhint %}

This API allows you to fetch project details from your account.

## &#x20;Get Project Details

<mark style="color:green;">`POST`</mark> `https://pickyassist.com/app/api/v2/pm/get-projects`

This API allows you to get project details&#x20;

#### Request Body

| Name        | Type   | Description                                                                                |
| ----------- | ------ | ------------------------------------------------------------------------------------------ |
| token       | string | Your Master API Token for authentication                                                   |
| project\_id | number | <p>Pass the project id for fetch details<br><br>0 = Fetch All Projects in your account</p> |

{% tabs %}
{% tab title="200 " %}

```
{
   "status":100,
   "message":"Success",
   "project_status":"Active",
   "project_id":"715",
   "project_name":"api test project1",
   "number":"9234324324",
   "company_name":"picky test",
   "country":"IN",
   "time_zone":"Asia/Kolkata",
   "date_format":DD-MM-YYYY,
   "service":1,
   "license_key":"9bb448151f161d292e212b05c835c4",
   "qr_code_base64":"aHR0cDovL2Rldi1waWNreS5jb20vdXBsb2Fkcy9pbWFnZXMvcXJjb2RlXzVlZTBiNDcyMGU2ZWYucG5n",
   "unbranded_keyword":"XY404793eFMMejtejZ",
   "branded_keyword":"",
   "api_tokens":[
      {
         "ip":"192.168.0.1",
         "token":"6999c1c7f31f50828ce24c6a509c41c57ec8b78c"
      },
      {
         "ip":"202.164.148.84",
         "token":"f368691b8436f164e527af9af942010708227296"
      }
   ],
    "global_webhook":"https://pickyassist.com/beta/test_webhook.php",
   "event_webhook":"https://pickyassist.com/beta/event_webhook.php",
   "smart_reply_webhook":"https://pickyassist.com/beta/test_webhook.php",
   "next_billing_date":"",
   "amount_debited":"",
   "notes":""
}
```

{% endtab %}
{% endtabs %}

## Response Variables&#x20;

| Variable              | Type    | Description                                                                                                                                                                                                                                                                                                              |
| --------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| status                | numeric | <p>Status of the Request </p><p></p><p>100 = Sucess</p><p></p><p>Refer <a href="../references/status-and-error-codes">Error Codes</a> for complete Status Codes</p>                                                                                                                                                      |
| message               | string  | Error or detailed response Message details                                                                                                                                                                                                                                                                               |
| project\_status       | string  | <p>Active</p><p>Expired</p><p>Delete</p>                                                                                                                                                                                                                                                                                 |
| project\_id           | numeric | Unique Project ID , using this id need to communicate further for all quires                                                                                                                                                                                                                                             |
| project\_name         | string  | Name of the Project                                                                                                                                                                                                                                                                                                      |
| number                | number  | Number of the Project                                                                                                                                                                                                                                                                                                    |
| company\_name         | string  | Company Name                                                                                                                                                                                                                                                                                                             |
| country               | string  | This is a complete list of all country ISO codes as described in the ISO 3166 international standard. [Refer Here](https://help.pickyassist.com/api-documentation-v2/country-code-and-timezones#country-code)                                                                                                            |
| time\_zone            | string  | Time zone in the specific format. [Refer Here](https://help.pickyassist.com/api-documentation-v2/country-code-and-timezones#time-zones)                                                                                                                                                                                  |
| date\_format          | numeric | <p>YYYY-MM-DD <br>DD-MM-YYYY<br>MM-DD-YYYY</p>                                                                                                                                                                                                                                                                           |
| service               | numeric | <p>1 = Phone Automation </p><p>2 = WhatsApp Official Account</p>                                                                                                                                                                                                                                                         |
| license\_key          | string  | License key of the project (only for phone automation)                                                                                                                                                                                                                                                                   |
| qr\_code\_base64      | string  | QR code of the license key for quick pairing the bridge app with the project                                                                                                                                                                                                                                             |
| unbranded\_keyword    | string  | Unbranded Shared Number for the project                                                                                                                                                                                                                                                                                  |
| branded\_keyword      | string  | Branded keyword if active in the project                                                                                                                                                                                                                                                                                 |
| api\_tokens           | array   | <p>This is an array where you will get following details </p><p>ip = IP Address</p><p>token = API Token</p>                                                                                                                                                                                                              |
| global\_webhook       | url     | Global Webhook if configured                                                                                                                                                                                                                                                                                             |
| event\_webhook        | url     | Event Webhook if configured                                                                                                                                                                                                                                                                                              |
| smart\_reply\_webhook | url     | Smart Reply Webhook if configured                                                                                                                                                                                                                                                                                        |
| billing\_plan         | numeric | <p>1= Pay As You Go<br></p><p>2= Phone Automation Small <br>3= Phone Automation Medium <br>4 =Phone Automation Large <br>5= Phone Automation Unlimited <br>6 = Phone Automation Yearly Unlimited</p><p></p><p>7 = Medium WhatsApp Official </p><p>8 = Large WhatsApp Official </p><p>9 = Unlimited WhatsApp Official</p> |
| next\_billing\_date   | date    | next billing date and time in ISO Standard format                                                                                                                                                                                                                                                                        |
| notes                 | string  | notes                                                                                                                                                                                                                                                                                                                    |

## Sample Request Body JSON

```javascript
{
   "token":"3434dfd434343",
   "project_id":715
}
```

## Sample Response

```javascript
{
   "status":100,
   "message":"Success",
   "project_status":"Active",
   "project_id":"715",
   "project_name":"api test project1",
   "number":"9234324324",
   "company_name":"picky test",
   "country":"IN",
   "time_zone":"Asia/Kolkata",
   "date_format":DD-MM-YYYY,
   "service":1,
   "license_key":"9bb448151f161d292e212b05c835c4",
   "qr_code_base64":"aHR0cDovL2Rldi1waWNreS5jb20vdXBsb2Fkcy9pbWFnZXMvcXJjb2RlXzVlZTBiNDcyMGU2ZWYucG5n",
   "unbranded_keyword":"XY404793eFMMejtejZ",
   "branded_keyword":"",
   "api_tokens":[
      {
         "ip":"192.168.0.1",
         "token":"6999c1c7f31f50828ce24c6a509c41c57ec8b78c"
      },
      {
         "ip":"202.164.148.84",
         "token":"f368691b8436f164e527af9af942010708227296"
      }
   ],
    "global_webhook":"https://pickyassist.com/beta/test_webhook.php",
   "event_webhook":"https://pickyassist.com/beta/event_webhook.php",
   "smart_reply_webhook":"https://pickyassist.com/beta/test_webhook.php",
   "next_billing_date":"",
   "amount_debited":"10",
   "notes":""
}
```
