We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c9f84d8 + bf0024e commit c2c8f7fCopy full SHA for c2c8f7f
src/IntercomSegments.php
@@ -17,6 +17,19 @@ public function __construct($client)
17
$this->client = $client;
18
}
19
20
+ /**
21
+ * Gets a single segment by ID.
22
+ * @see https://developers.intercom.com/reference#view-a-segment
23
+ * @param string $id
24
+ * @param array $options
25
+ * @return mixed
26
+ * @throws \GuzzleHttp\Exception\GuzzleException
27
+ */
28
+ public function getSegment($id, array $options = [])
29
+ {
30
+ return $this->client->get('segments/' . $id, $options);
31
+ }
32
+
33
/**
34
* Lists Segments.
35
* @see https://developers.intercom.com/reference#list-segments
0 commit comments