Skip to main content
POST
Create a new credential

Authorizations

Authorization
string
header
required

LeadConduit uses HTTP Basic Authentication with the username API and your API key as the password.

For example: API:1f1b96c9150d8050e858c043d543bb4eadae0e6f'

Body

application/json

Create a new credential

name
string
required

Friendly name for this credential

type
enum<string>
required

The type of model changes were performed on: user, token, oauth

Available options:
user
package
string
required

The name of the LeadConduit integration package to which this credential belongs

username
string
required

The username to user for basic authentication

Minimum string length: 1
password
string
required

The password to user for basic authentication

Minimum string length: 1

Response

201 - application/json

Created

id
string
required
read-only

The ID of the credential which uniquely identifies it

Pattern: ^[0-9a-fA-F]{24}$
Example:

"5fd4371e940df5a34a3888b2"

name
string
required

Friendly name for this credential

type
enum<string>
required

The type of model changes were performed on: user, token, oauth

Available options:
user
package
string
required

The name of the LeadConduit integration package to which this credential belongs

username
string
required

The username to user for basic authentication

Minimum string length: 1
password
string
required

The password to user for basic authentication

Minimum string length: 1
created_at
string<date-time>
read-only
updated_at
string<date-time>
read-only