What stays the same
- The API keys: the same keys work on both versions.
- The response envelope: HTTP 200 with
success,code,messageandbody. - The message and contact grammars:
message.type+message.content,contact.identifier+contact.profile.
What changes
Endpoint mapping
Example: sending a message
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.