Skip to main content
POST

Authorizations

Authorization
string
header
required

Telnyx API key, not the processor bearer token.

Body

application/json
name
string
required

Unique within the authenticated organization. Used in resource paths and as connector_name in the Call Control Pay request. Cannot be renamed by update.

Required string length: 1 - 255
Pattern: \S
Example:

"my-payment-connector"

config
Basic authentication (also the validation default) · object
required

Configuration for a generic connector. A config update replaces the complete object, not individual keys. Unknown config keys are discarded. Authentication credentials must be nonblank strings when required by the selected auth_type.

type
enum<string>
default:generic

Connector type covered by this reference.

Available options:
generic
mode
enum<string>
default:test

Defaults to test on creation. Test restricts collected card numbers but still contacts the configured processor; use a processor sandbox URL and sandbox credentials. Live removes the test-card restriction. Neither mode locks API updates.

Available options:
test,
live

Response

Connector created. Credentials are omitted.

data
object

Organization-owned connector. Examples and config properties here describe generic connectors; listing is not restricted to that type unless filter[type]=generic is supplied. Passwords and bearer tokens are omitted, not masked. Defaults for auth_type and timeout need not appear in stored config.