Freepark Authorized Add

Resource URL

https://api.freepark.co/authorized/add

Parameters

ParameterDescriptionOptionalDefault
property_id (Type is integer) False False
country_code (Type is integer) False False
phone_number (Type is string) False False

Example

POST https://api.freepark.co/authorized/add

Request

PHP Example
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"https://api.freepark.co/authorized/add");
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded' ,"Authorization: Bearer ".$access_token));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,"property_id=xx&country_code=xx&phone_number=xxxxxxxxxx");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec ($ch);
echo $response;

Response


    {
        "id": x
    }

Error Response

{
    error: true,
    error_description: "Missing request arguments:property_id, country_code, phone_number"
}

Resource Information

Rate Limited False
Response Format JSON
Authentication 1