POST
/
secrets
/
integrations
/
{provider}
Create or update an integration
curl --request POST \
  --url https://api.cloud.flexprice.io/v1/secrets/integrations/{provider} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "credentials": {},
  "name": "<string>",
  "provider": "flexprice"
}'
{
  "created_at": "<string>",
  "display_id": "<string>",
  "expires_at": "<string>",
  "id": "<string>",
  "last_used_at": "<string>",
  "name": "<string>",
  "permissions": [
    "<string>"
  ],
  "provider": "flexprice",
  "status": "published",
  "type": "private_key",
  "updated_at": "<string>"
}

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Path Parameters

provider
string
required

Integration provider

Body

application/json

Integration creation request

The body is of type object.

Response

201
application/json

Created

The response is of type object.