Get Services By Name
GET {{baseUrl}}/services/by-name?name=<string>&owner_id=<string>
Returns all the active services for the organization.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with read
scope.
Query Param:
name
: get a service by name
owner_id
: team_id of the service. if empty API query for the Default team
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
name | string | name of the service | |
owner_id | string | here owner_id represents team_id. required |
RESPONSES
status: OK
{"data":{"id":"5e8edb24668e003cb0b18ba1","name":"Payment API Service","slug":"payment-api-service","email":"98bc05ed2d790d7dccd072938ca46f361c687bd0@squadcast.incidents.squadcast.com","escalation_policy_id":"5d81d9407000fb6b9def7e33","organization_id":"5a4262733c36823b3ed91fb9","api_key":"98bc05ed2d790d7dccd072938ca46f361c687bd0","description":"","depends":null,"owner":{"id":"650141ae7891bb11f1234tte","type":"team"},"access_control":[],"maintainer":{"id":"650141ae7891bb11f1234aaa1","type":"user"},"tags":[],"auto_pause_transient_alerts_config":{"is_enabled":false,"timeout_in_mins":0},"intelligent_alerts_grouping_config":{"is_enabled":false,"rolling_window_in_mins":0},"delay_notification_config":{"is_enabled":false,"fixed_timeslot_config":{},"custom_timeslots_enabled":false,"assigned_to":{"id":"000000000000000000000000"}},"config":{"dedup_key_enabled":false},"created_at":"2023-10-05T14:42:26.284Z","updated_at":"2023-10-19T15:50:17.709Z","on_maintenance":false,"slack":{"channel_id":"","name":"","time":0},"escalation_policy":{"id":"5d81d9407000fb6b9def7e33","name":"TEST","description":"","slug":"test"},"jira_cloud":{"jira_client_key":"","project":{"id":"","key":"","name":""},"issue_type":{"id":"","name":"","statuses":null},"statusmaps":null,"is_manual":false}}}