Skip to main content
POST
/
credentials
Create a new credential
curl --request POST \
  --url https://app.leadconduit.com/credentials \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "type": "user",
  "package": "<string>",
  "username": "<string>",
  "password": "<string>"
}
'
{
  "id": "5fd4371e940df5a34a3888b2",
  "name": "<string>",
  "type": "user",
  "package": "<string>",
  "username": "<string>",
  "password": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://developers.activeprospect.com/llms.txt

Use this file to discover all available pages before exploring further.

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