Create API Token
Creating API Token
This API allows you to create a new API token for a project
post
https://pickyassist.com/app/api/v2
/pm/create-api-token
Create API Token

Response Variables

Variable
Type
Description
status
numeric
Status of the Request
โ€‹
100 = Sucess
โ€‹
Refer Error Codes for complete Status Codes
message
string
Error or detailed response Message details
project_id
numeric
Project ID
api_token
array
API Tokens in array
โ€‹
ip
token

Sample Request Body JSON

1
{
2
"token":"3e09daea611a26691ead999715b215c7d81dbfb0",
3
"project_id":6681,
4
"ip_whitelist":[
5
"192.168.0.1",
6
"202.164.148.84"
7
]
8
}
Copied!

Sample Response

1
{
2
"status":100,
3
"message":"Success",
4
"project_id":26681,
5
"api_token":[
6
{
7
"ip":"192.168.0.1",
8
"token":"34343sdfgsdf3434"
9
},
10
{
11
"ip":"202.164.148.84",
12
"token":"34343ddf343434343"
13
}
14
]
15
}
Copied!