Creating an API Token

The API token is a unique identifier of an application requesting access to copi.st service. You should send your token using HTTP header "X_API_TOKEN"

copi.st API is a beta, so generation of API Tokens not realized yet. Please contact us directly and we generate you personal API Token manually. Store this token as if it were a secret password.

API Rate limits

To maintain optimum performance and ensure that the copi.st is available to all our users, we limit requests:

When a call exceeds a request limit, an error is returned.

Supported File Formats

Every request will accept JSON data and return a JSON response.

HTTP Responses

copi.st API attempts to return appropriate HTTP status codes for every request.

Access endpoint

Send requests to http://copi.st/api/%method% URL. Available methods are listed below:

Try API

The sample API token for testing purposes is "demo-token". You should enter your own API Token here
POST http://copi.st/api/shorten
Create new short URL
string
required
string
optional
string
optional

Try
Request:

Request Method:

Request URL:

Request Headers:


                        

Request Body:

Response:

Status code:

Response Headers:


                        

Response Body:

Need more?

More API operations, extra options, extended manuals, or code samples? Press "Hurry me" or leave a comment.

Hurry me