Skip to content

Director Search

Request

Endpoint to find Directors based on search criteria to order a Creditsafe Director Report. Each country accepts its own combinations of search fields: call People/Director Search Criteria first, and send the fields of one combination. Send every field as a flat query parameter, including the ones Search Criteria groups under company and address (for example companyName, not company.companyName). Any other combination returns 400 with Specified criteria combination is not allowed.

Security
bearerToken
Query
pageinteger

Starting page number.

Default:1
Example:page=1
pageSizeinteger

Specifies the number of items to be displayed per page. Allowed values are between 1 and 100.

Example:pageSize=10
countriesstring^([a-zA-Z\s]+,)*[a-zA-Z\s]+$required

Comma-separated list of ISO 3166-1 alpha-2 country codes, with no spaces, for example GB or GB,US. Not case sensitive. A single country that isn't supported returns 400. When several countries are requested, results come from the supported ones only.

Example:countries=GB
peopleIdstring

Person/Director Identifier - used to order a Director Report.

Example:peopleId=GB-912345678
firstNamestring

Person's first name. Search Criteria gives the minimum length for each country, for example 2 characters for GB.

Example:firstName=Jane
lastNamestring

Person's last name. For IT, send both firstName and lastName.

Example:lastName=Example
fullNamestring

Person's full name. CA is searched by fullName instead of firstName and lastName.

Example:fullName=Jane Example
localDirectorNumberstring or null

Local Identifier of the Director, the PNR in GB. For GB, include the UK prefix: without it, the search returns no results.

Example:localDirectorNumber=UK912345678
dateOfBirthstring

Person DOB - provide YYYY-MM-DD or YYYY-MM format. Other formats, such as 01/01/1970, return no results rather than an error.

Example:dateOfBirth=1970-01
ageMininteger

Only directors aged at least this many years.

Example:ageMin=50
ageMaxinteger

Only directors aged at most this many years.

Example:ageMax=70
statusstring

The director's status. Use a value from Search Criteria allowedValues, for example Current or Former for GB.

Example:status=Former
companyNamestring

The name of a company the director is associated with.

Example:companyName=Example Trading
regNostring

The registration number of a company. Returns the company's directors.

Example:regNo=01234567
companyNumberstring

The company number of a company. Returns the company's directors.

Example:companyNumber=01234567
idstring

The connectId of a company. Returns the company's directors.

Example:id=GB-0-01234567
typestring

The company type. Use a value from Search Criteria allowedValues, for example Ltd or NonLtd for GB.

Example:type=Ltd
postCodestring

The director's postcode.

Example:postCode=AB1 2CD
citystring

The director's city.

Example:city=Exampletown
streetstring

The director's street.

Example:street=Example Street
callRefstring or null

This parameter allows users to assign a unique identifier to their API queries. By using a callRef, it facilitates easier tracking and logging within Connect. If you provide a callRef, the Connect team can later retrieve and identify the specific requests associated with that identifier, enabling detailed tracing of interactions.

Example:callRef=my-reference
curl -i -X GET \
  'https://connect.sandbox.creditsafe.com/v1/people?page=1&pageSize=10&countries=GB&peopleId=GB-912345678&firstName=Jane&lastName=Example&fullName=Jane%20Example&localDirectorNumber=UK912345678&dateOfBirth=1970-01&ageMin=50&ageMax=70&status=Former&companyName=Example%20Trading&regNo=01234567&companyNumber=01234567&id=GB-0-01234567&type=Ltd&postCode=AB1%202CD&city=Exampletown&street=Example%20Street&callRef=my-reference' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Success. Returns the directors that match the search. A search that finds nothing also returns 200, with an empty directors list and a NoResults message.

Bodyapplication/json
messagesArray of objects(CreditsafeGlobalDataMessage)

Provides information about the request and the response.

correlationIdstring

A unique ID assigned to this request.

Example:"6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f"
directorsArray of objects(CreditsafeGlobalDataDirectorSearchData)

The directors found, one page at a time. Empty when nothing matches, with a NoResults entry in messages.

totalSizeinteger, (int32)

The total number of results.

Example:3
Response
{ "correlationId": "6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f", "totalSize": 1, "directors": [ { … } ] }