Skip to main content

Base URL

The SendX API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs. The SendX Rest API doesn’t support bulk updates. You can work on only one object per request. All requests contain the following base URL
You can also import the postman collection as well.

Authentication

The SendX API uses API key to authenticate requests. You can check out your API key from your settings page https://app.sendx.io/setting/connectors/api under the section Team Api Key. SendX expects the API key to be included in all API requests to the server in a header that looks like the following:
Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

Response Codes

SendX uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a failed resource search, etc.). Codes in the 5xx range indicate an error with SendX’s servers (drop us a mail at support@sendx.io in case that ever happens). Here’s some error codes and what they mean:

Identifiers

SendX allows user manipulations through ids within the entire REST API, to ensure developer ease, each resource has a prefixed id. Here’s an example of all the types of ids: