Contacts

Contacts are all the individual persons or organizations you are doing business with. Use the contacts API to list, create or update contacts within your Lancerkit account.

API endpoints

List contacts

GET https://api.lancerkit.com/contacts

List all the contacts on your account

Query Parameters

NameTypeDescription

search

String

A query to filter the contact list

page

Number

{
    // Response
}

Get a contact

GET https://api.lancerkit.com/contacts/:id

Get a specific contact from your account

Path Parameters

NameTypeDescription

id

String

The id of the contact

{
    // Response
}

Delete contacts

DELETE https://api.lancerkit.com/contacts

Delete some contacts from your account

Request Body

NameTypeDescription

ids

String

The ids of the contacts to delete

{
    // Response
}

Edit a contact

POST https://api.lancerkit.com/contacts/:id

Edit an existing contact

Path Parameters

NameTypeDescription

id

String

The id of the contact

Request Body

NameTypeDescription

firstName

String

lastName

String

company

String

phone

String

email

String

vatNumber

String

country

String

city

String

zip

String

number

String

street

String

{
    // Response
}

Create a contact

POST https://api.lancerkit.com/contacts/new

Create a new contact

Request Body

NameTypeDescription

firstName

String

lastName

String

company

String

phone

String

email

String

vatNumber

String

country

String

city

String

zip

String

number

String

street

String

{
    // Response
}

Last updated