POST
/
v3
/
credentials
cURL
curl --request POST \
  --url http://127.0.0.1:3333/v3/credentials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "type": "smtp"
}
'
{
  "credentials": {
    "id": "<string>",
    "type": "smtp",
    "name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
type
enum<string>
required
Available options:
smtp,
google sheets,
google,
gmail,
stripe,
mercadopago,
openpix,
whatsApp,
instagram,
tiktok,
facebook,
telegram,
openai,
anthropic,
deepseek,
google-gemini,
mistral,
together-ai,
perplexity,
groq,
open-router,
xai,
supabase,
nocodb,
blink,
chat-node,
dify-ai,
elevenlabs,
posthog,
segment,
zendesk
workspaceId
string
scope
enum<string>
default:workspace
Available options:
workspace,
user
data
any

Response

200 - application/json

Default Response

credentials
object
required