Our documentation is changing, please click here to enjoy it!

Skip to end of metadata
Go to start of metadata

This API route allows you to link or unlink a segment to a message.

Operations

POST

/linkSegment.php

ParameterModel
body
Data
Response
body
Return code
returnCodeDescription

0

OK

1A database error occured
2Bad request format
3No or bad user
4No or bad partner
5No or bad messageId
6No or bad segmentId
7Segment already linked to the message
8Unknown action

Examples

RequestBodyDescription

POST /linkSegment.php

Links the segment with segmentId 1234 with message with messageId 5678
POST /linkSegment.php
Uninks the segment with segmentId 1234 with message with messageId 5678
  • No labels