Creating Advisors
Create advisors belonging to your workspace.
The create advisor endpoint adds an advisor to your workspace. An advisor is a member who can be assigned to clients.
The advisor stays pending until they sign in for the first time. Worklayer does not send an invite, so tell the advisor where to sign in.
This endpoint works only in workspaces that have advisors turned on. Contact Taxfyle to turn on advisors for your workspace.
Endpoint
| Method | Url |
|---|---|
POST | /v1.0/advisors |
Request Parameters
The advisor's unique email.
The advisor's given name. This is their first name. The maximum length is 40 characters.
The advisor's family name. This is their surname. The maximum length is 40 characters.
The advisor's phone number. The maximum length is 20 characters.
Sample Request
bashCopied1curl -X POST 'https://api.worklayer.com/v1.0/advisors' \2-H 'Authorization: Bearer {token}' \3-H 'Content-Type: application/json' \4-d '{ "email": "jane.doe@example.com", "given_name": "Jane", "family_name": "Doe" }'
Response
An instance of member resource, with the 201 status code.
Store the user_id. You use it to assign the advisor to clients.
Advisors do not have an external ID.
It is safe to retry this request. While the advisor is pending, a request with the same email returns the same advisor.
Sample Response
jsonCopied1{2 "email": "jane.doe@example.com",3 "user_id": "3f6c2a8e-91b4-4d7a-b0e5-6c1d9f2a7e43",4 "create_time": "2026-11-23T15:18:00.701Z",5 "update_time": "2026-11-23T15:18:00.701Z",6 "custom_fields": []7}
Errors
Forbidden: API Client cannot create advisors.Unauthorized: API Client does not have valid credentials.BadRequest: Required properties are missing or invalid, the email belongs to a user who has already signed in, the workspace does not have advisors turned on, or the request was malformed.
See Error handling for the shape of the error response body.