Skip to main content
POST
Preview the SaaS accounts the rules grant to a person
Key: Read Scope: Company

Authorizations

Authorization
string
header
required

Use your Primo API key in the Authorization header as Bearer <API_KEY>.

Body

application/json
firstName
string

First name of the person.

Minimum string length: 1
lastName
string

Last name of the person.

Minimum string length: 1
email
string

Work email of the person.

Minimum string length: 1
teams
string[]

Names of the teams the person is in, as the company writes them. A team that does not exist in Primo yet is fine.

Minimum string length: 1
jobs
string[]

Job titles of the person. A title that does not exist in Primo yet is fine.

Minimum string length: 1
workLocation
string

Name of the work location, e.g. an office or a city.

Minimum string length: 1

Name of the legal entity that employs the person.

Minimum string length: 1
managerFullName
string

Full name of the person's manager.

Minimum string length: 1
employmentType
string

Kind of contract, e.g. permanent, contractor, intern.

Minimum string length: 1
customFields
object[]

The person's employee custom field values. The rules read them by the field's label.

Response

default - application/json
data
object[]
required

One entry per APPROVED application whose published rule grants the person an account. An application the rules do not grant is absent.