This action retrieves information about end-user(s) you've referred to the White Swan.
The IDs returned by this action can be used in other information calls to retrieve further information about Plan Request(s) or Personal Plan(s) associated with a given client.
API Method:
Fetch Client(s)
POSThttps://app.whiteswan.io/api/1.1/wf/client
Returns information about referred end-users associated with your White Swan account.
Headers
Name
Type
Description
Authorization*
String
Bearer <YOUR API KEY>
Content-Type*
String
application/json
Accept*
String
application/json
user-agent*
String
<YOUR APP>
Request Body
Name
Type
Description
JSON Body*
Object
See specification below
Sample Body Payload
{
"client_email": "jane@gmail.com"
}
Please note that the sample body payload above contains all possible parameters for your reference. In an actual call, you don't need to use all (or any) parameters.
Code examples are available in cURL, Python, Javascript, Java, PHP, Ruby, and Go, but can be constructed for other languages and tools. Some code examples include dependencies that may need to be installed in your codebase to ensure functionality. Remember to replace any values in the code that looks like <VALUE> and to adapt the parameter values passed.
Body Parameters Specification:
Field Label
Field Key
Field Type
Example Value
Description
Client Email
client_email
Text
john@doe.com
This input can optionally be used to get information about a specific client.