Skip to main content
v1.0 is legacy. It keeps working for now but receives no new features, and it will be deprecated then removed. The dates will be announced in advance through the Deprecation and Sunset headers of v1.0 responses (see Versioning); after the sunset date, every v1.0 call answers HTTP 410. Move to v2.0 now.

What stays the same

  • The API keys: the same keys work on both versions.
  • The response envelope: HTTP 200 with success, code, message and body.
  • The message and contact grammars: message.type + message.content, contact.identifier + contact.profile.

What changes

Endpoint mapping

Example: sending a message

The v2.0 response gives you the conversation (keep its id to reply or take over) and the message.

Checklist

1

Check your keys

Call GET /api/v2.0/me with each key and check body.token.abilities. Add Send messages, View messages or Manage integrations in Developer > API Keys where needed.
2

Switch the base URL

Point your client to https://shortext.ny-corp.io/api/v2.0.
3

Replace the sending calls

from becomes channel_id; replies go to POST /conversations/{id}/messages.
4

Replace polling with webhooks

Subscribe to message.* and conversation.* instead of polling.
5

Watch the headers

Log X-Shortext-Api-Version, Deprecation and Sunset in your client so you never miss an announcement.