PUT
/
connectors
/
{service_name}
/
publish_to_organization
curl --request PUT \
  --url https://app.getcensus.com/api/v1/connectors/{service_name}/publish_to_organization \
  --header 'Authorization: Bearer <token>'
{
  "status": "published_to_organization",
  "data": {
    "documentation_slug": "braze",
    "label": "Braze",
    "service_name": "braze",
    "auth_method": "credentials",
    "creatable_via_api": true,
    "creatable_via_connect_link": true,
    "configuration_fields": {
      "fields": [
        {
          "id": "instance_url",
          "rules": "required",
          "label": "Endpoint URL",
          "type": "string",
          "placholder": "https://rest.iad-01.braze.com",
          "matches": "^(?:(?=.*rest)https:\\\\/\\\\/rest|(?!.*rest)(https:\\\\/\\\\/)?sdk)\\\\.(iad|fra)-\\\\d\\\\d\\\\.braze\\\\.(com|eu)",
          "is_password_type_field": false,
          "possible_values": [
            "<string>"
          ],
          "read_more": "https://docs.getcensus.com/destinations/available-destinations/hubspot#managing-object-associations",
          "hint": "You can find your API key in the YourService UI under Settings > Integrations > API Key\n",
          "input_type": "textbox"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

service_name
string
required

Name of the destination type to publish

Response

200 - application/json
Connector published successfully
status
enum<string>

Outcome of the operation.

Available options:
published_to_organization,
not_found,
error
data
object