ProspectsConvert a prospect

Convert a prospect

Needs: Prospects, Read-write, and Clients, Read-write

Converts a prospect to a new client, or links it to an existing client. It uses the profile conversion, enforces business access, and refuses a prospect that is already converted. Send either client_id, or client_type, business_id and language, never both.

Note: data is what the profile conversion returns, so it is not repeated here.

curl -X POST "https://app.imploy.com.au/api/integrations/v1/prospects/123/convert" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "client_type": "NDIS",
  "business_id": 1,
  "language": "English"
}'
{
  "converted": 21,
  "data": {
    "...": "..."
  }
}
POST
/prospects/{id}/convert
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.

An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.
path
idinteger
Required

The prospect id.

Content-Typestring
Required

The media type of the request body

Options: application/json
client_idinteger

Link an existing client instead of creating one.

client_typestring

HCP, SaH, THCP, GHCP, NDIS or Private. For a new client.

business_idinteger

The business location. Required for a new client. See the client create options.

languagestring

Required for a new client.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.

Path Parameters

idinteger
Required

The prospect id.

Body

application/json
client_idinteger

Link an existing client instead of creating one.

client_typestring

HCP, SaH, THCP, GHCP, NDIS or Private. For a new client.

business_idinteger

The business location. Required for a new client. See the client create options.

languagestring

Required for a new client.

Responses