# HTTP Connector Resources

## List HTTP Connector Resources for a connector

> Returns all resources (logical API groupings) defined under the given\
> HTTP Connector.\
> \
> The list response is abridged — it omits \`published\` and\
> \`\_httpConnectorId\` compared to the detail endpoint. Use\
> \`GET /v1/httpconnectors/{\_httpConnectorId}/{\_id}\` for the full object.\
> \
> AI guidance:\
> \- Each resource's \`\_id\` doubles as the \`\_httpConnectorResourceId\` path\
> &#x20; parameter used by the HTTP Connector Endpoints API.\
> \- \`\_versionIds\` links the resource to connector versions defined in the\
> &#x20; parent HTTP Connector's \`versions\` array.

```json
{"openapi":"3.1.0","info":{"title":"HTTP Connector Resources","version":"1.0.0"},"servers":[{"url":"https://api.integrator.io","description":"Production (US / default region)"},{"url":"https://api.eu.integrator.io","description":"Production (EU region)"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"ListItem":{"type":"object","description":"Abridged HTTP Connector Resource as returned in list responses. Omits\n`published` and `_httpConnectorId` compared to the detail response.","properties":{"_id":{"type":"string","format":"objectId","description":"Unique identifier","readOnly":true},"name":{"type":"string","description":"Resource name"},"_versionIds":{"type":"array","description":"Connector version IDs this resource belongs to","items":{"type":"string","format":"objectId"}},"createdAt":{"type":"string","format":"date-time","readOnly":true},"lastModified":{"type":"string","format":"date-time","readOnly":true}},"required":["_id","name"]},"Error":{"type":"object","description":"Standard error response envelope returned by integrator.io APIs.","properties":{"errors":{"type":"array","description":"List of errors that occurred while processing the request.","items":{"type":"object","properties":{"code":{"oneOf":[{"type":"string"},{"type":"integer"}],"description":"Machine-readable error code. Usually a string like\n`invalid_ref`, `missing_required_field`, or `unauthorized`;\nmay be an **integer** when the error mirrors an upstream HTTP\nstatus (e.g. `500`) — most commonly returned by connection-ping\nand adaptor-proxy responses."},"message":{"type":"string","description":"Human-readable description of the error."},"field":{"type":"string","description":"Optional pointer to the document field that caused the error.\nUsed by structural validation errors (`missing_required_field`,\n`invalid_ref`) to indicate which field is at fault\n(e.g. `_id`, `type`, `http.baseURI`)."},"source":{"type":"string","description":"Optional origin layer for the error — e.g. `application` when\nthe error came from the remote system the adaptor called,\n`connector` when the adaptor itself rejected the request."}},"required":["message"]}}},"required":["errors"]}},"responses":{"401-unauthorized":{"description":"Unauthorized. The request lacks a valid bearer token, or the provided token\nfailed to authenticate.\n\nNote: the 401 response is produced by the auth middleware **before** the\nrequest reaches the endpoint handler, so it does **not** follow the\nstandard `{errors: [...]}` envelope. Instead the body is a bare\n`{message: string}` object with no `code`, no `errors` array. Callers\nhandling 401s should key off the HTTP status and the `message` string,\nnot try to destructure an `errors[]`.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable description of the auth failure. Known values:\n- `\"Unauthorized\"` — no `Authorization` header on the request.\n- `\"Bearer Authentication Failed\"` — header present but token\n  is invalid, revoked, or expired."}},"required":["message"]}}}},"404-not-found":{"description":"Not found. The requested resource does not exist or is not visible to the caller.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/v1/httpconnectors/{_httpConnectorId}/httpconnectorresources":{"get":{"operationId":"listHttpConnectorResources","tags":["HTTP Connector Resources"],"summary":"List HTTP Connector Resources for a connector","description":"Returns all resources (logical API groupings) defined under the given\nHTTP Connector.\n\nThe list response is abridged — it omits `published` and\n`_httpConnectorId` compared to the detail endpoint. Use\n`GET /v1/httpconnectors/{_httpConnectorId}/{_id}` for the full object.\n\nAI guidance:\n- Each resource's `_id` doubles as the `_httpConnectorResourceId` path\n  parameter used by the HTTP Connector Endpoints API.\n- `_versionIds` links the resource to connector versions defined in the\n  parent HTTP Connector's `versions` array.","parameters":[{"in":"path","name":"_httpConnectorId","required":true,"schema":{"type":"string","format":"objectId"},"description":"HTTP Connector ID"}],"responses":{"200":{"description":"Successfully retrieved list of HTTP Connector Resources","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ListItem"}}}}},"204":{"description":"No resources exist for this connector"},"401":{"$ref":"#/components/responses/401-unauthorized"},"404":{"$ref":"#/components/responses/404-not-found"}}}}}}
```

## Get an HTTP connector resource

> Retrieves a specific HTTP Connector Resource by its unique identifier.\
> \
> The path uses a shortcut form: \`/v1/httpconnectors/{\_httpConnectorId}/{\_id}\`\
> where \`{\_id}\` is the resource ID directly under the connector. The longer\
> form \`/v1/httpconnectors/{\_httpConnectorId}/httpconnectorresources/{\_id}\`\
> returns \*\*400 \`invalid\_ref\`\*\* — it is not supported.\
> \
> The detail response includes \`published\` and \`\_httpConnectorId\` fields\
> that are omitted from the list endpoint.\
> \
> AI guidance:\
> \- Any unrecognized path segment after \`/v1/httpconnectors/{\_httpConnectorId}/\`\
> &#x20; is treated as a \`\_httpConnectorResourceId\` by the server. There are no\
> &#x20; other sub-paths on httpconnectors (no \`/versions\`, \`/dependencies\`, etc.).\
> \- Use the resource's \`\_id\` as the \`\_httpConnectorResourceId\` path parameter\
> &#x20; when querying HTTP Connector Endpoints.

```json
{"openapi":"3.1.0","info":{"title":"HTTP Connector Resources","version":"1.0.0"},"servers":[{"url":"https://api.integrator.io","description":"Production (US / default region)"},{"url":"https://api.eu.integrator.io","description":"Production (EU region)"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"Response":{"type":"object","description":"HTTP Connector Resource object as returned by the API","properties":{"_id":{"type":"string","format":"objectId","description":"Unique identifier for the HTTP Connector Resource","readOnly":true},"name":{"type":"string","description":"Human-readable name for this resource (e.g. \"Account\", \"Contact\", \"Order\")"},"published":{"type":"boolean","description":"Whether this resource is published and visible to users"},"_httpConnectorId":{"type":"string","format":"objectId","description":"Parent HTTP Connector ID. Only present in the detail (by-ID) response,\nomitted from list responses.","readOnly":true},"_versionIds":{"type":"array","description":"Connector version IDs this resource belongs to","items":{"type":"string","format":"objectId"}},"createdAt":{"type":"string","format":"date-time","description":"Timestamp when created","readOnly":true},"lastModified":{"type":"string","format":"date-time","description":"Timestamp when last modified","readOnly":true}},"required":["_id","name"]},"Error":{"type":"object","description":"Standard error response envelope returned by integrator.io APIs.","properties":{"errors":{"type":"array","description":"List of errors that occurred while processing the request.","items":{"type":"object","properties":{"code":{"oneOf":[{"type":"string"},{"type":"integer"}],"description":"Machine-readable error code. Usually a string like\n`invalid_ref`, `missing_required_field`, or `unauthorized`;\nmay be an **integer** when the error mirrors an upstream HTTP\nstatus (e.g. `500`) — most commonly returned by connection-ping\nand adaptor-proxy responses."},"message":{"type":"string","description":"Human-readable description of the error."},"field":{"type":"string","description":"Optional pointer to the document field that caused the error.\nUsed by structural validation errors (`missing_required_field`,\n`invalid_ref`) to indicate which field is at fault\n(e.g. `_id`, `type`, `http.baseURI`)."},"source":{"type":"string","description":"Optional origin layer for the error — e.g. `application` when\nthe error came from the remote system the adaptor called,\n`connector` when the adaptor itself rejected the request."}},"required":["message"]}}},"required":["errors"]}},"responses":{"401-unauthorized":{"description":"Unauthorized. The request lacks a valid bearer token, or the provided token\nfailed to authenticate.\n\nNote: the 401 response is produced by the auth middleware **before** the\nrequest reaches the endpoint handler, so it does **not** follow the\nstandard `{errors: [...]}` envelope. Instead the body is a bare\n`{message: string}` object with no `code`, no `errors` array. Callers\nhandling 401s should key off the HTTP status and the `message` string,\nnot try to destructure an `errors[]`.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable description of the auth failure. Known values:\n- `\"Unauthorized\"` — no `Authorization` header on the request.\n- `\"Bearer Authentication Failed\"` — header present but token\n  is invalid, revoked, or expired."}},"required":["message"]}}}}}},"paths":{"/v1/httpconnectors/{_httpConnectorId}/{_id}":{"get":{"operationId":"getHttpConnectorResourceById","tags":["HTTP Connector Resources"],"summary":"Get an HTTP connector resource","description":"Retrieves a specific HTTP Connector Resource by its unique identifier.\n\nThe path uses a shortcut form: `/v1/httpconnectors/{_httpConnectorId}/{_id}`\nwhere `{_id}` is the resource ID directly under the connector. The longer\nform `/v1/httpconnectors/{_httpConnectorId}/httpconnectorresources/{_id}`\nreturns **400 `invalid_ref`** — it is not supported.\n\nThe detail response includes `published` and `_httpConnectorId` fields\nthat are omitted from the list endpoint.\n\nAI guidance:\n- Any unrecognized path segment after `/v1/httpconnectors/{_httpConnectorId}/`\n  is treated as a `_httpConnectorResourceId` by the server. There are no\n  other sub-paths on httpconnectors (no `/versions`, `/dependencies`, etc.).\n- Use the resource's `_id` as the `_httpConnectorResourceId` path parameter\n  when querying HTTP Connector Endpoints.","parameters":[{"in":"path","name":"_httpConnectorId","required":true,"schema":{"type":"string","format":"objectId"},"description":"HTTP Connector ID"},{"in":"path","name":"_id","required":true,"schema":{"type":"string","format":"objectId"},"description":"HTTP Connector Resource ID"}],"responses":{"200":{"description":"HTTP Connector Resource retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"400":{"description":"Invalid resource ID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/401-unauthorized"},"404":{"description":"Resource not found or not published. Also returned when the\n`_httpConnectorId` is valid but the resource ID doesn't belong to it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.celigo.com/api/api-reference/http-connector-resources.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
