Platform Status: Good
V1.5
Join Free
API Reference
Segments

Segments

User segments

Available Endpoints:

HTTP Method

Endpoint

Function

Gets a list of all segments
Creates a segment
Gets a segment
Deletes a segment

Gets a list of all segments

Endpoint URL
GET https://api.port.im/segments
Content Type
application/json
Authentication
OAuth2 Access token

Creates a segment

Endpoint URL
POST https://api.port.im/segments
Content Type
application/json
Authentication
OAuth2 Access token

Gets a segment

Endpoint URL
GET https://api.port.im/segments/{segment_id}
Content Type
application/json
Authentication
OAuth2 Access token

Deletes a segment

Endpoint URL
DELETE https://api.port.im/segments/{segment_id}
Content Type
application/json
Authentication
OAuth2 Access token