This documentation aims to provide all the information you need to work with our API.
To authenticate requests, include an Authorization header with the value "Bearer {TOKEN}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
All API requests must include the X-Api-Key header with your assigned Partner API key.
For authenticated user requests, first authenticate using the authentication endpoint. Once authenticated, include both:
Authorization: Bearer <token>X-Api-Key headerThis ensures secure access to the API and proper authentication for user-specific requests.
curl --request GET \
--get "https://partners.proposals.agencystudio.com.au/api/v1/healthcheck" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-Api-Key: your-api-key" {
"status": "up"
}
Authenticate with the user and get a token to use in future requests
curl --request POST \
"https://partners.proposals.agencystudio.com.au/api/v1/users/auth" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-Api-Key: your-api-key" \
--data "{
\"user_id\": 1,
\"email\": \"test@example.com\"
}"
{
"data": {
"token": "encrypted string"
}
}
This endpoint lets you generate a magic link to redirect your user to create a prospect against a property
curl --request POST \
"https://partners.proposals.agencystudio.com.au/api/v1/prospects/magic-link" \
--header "Authorization: Bearer {TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-Api-Key: your-api-key" \
--data "{
\"type\": \"price_update\",
\"property_id\": 123
}"
{
"data": {
"magic_link": "string"
}
}