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

KeyDatatypeRequiredDescription
namestringname of the service
owner_idstringhere owner_id represents team_id. required

RESPONSES

status: OK

{&quot;data&quot;:{&quot;id&quot;:&quot;5e8edb24668e003cb0b18ba1&quot;,&quot;name&quot;:&quot;Payment API Service&quot;,&quot;slug&quot;:&quot;payment-api-service&quot;,&quot;email&quot;:&quot;98bc05ed2d790d7dccd072938ca46f361c687bd0@squadcast.incidents.squadcast.com&quot;,&quot;escalation_policy_id&quot;:&quot;5d81d9407000fb6b9def7e33&quot;,&quot;organization_id&quot;:&quot;5a4262733c36823b3ed91fb9&quot;,&quot;api_key&quot;:&quot;98bc05ed2d790d7dccd072938ca46f361c687bd0&quot;,&quot;description&quot;:&quot;&quot;,&quot;depends&quot;:null,&quot;owner&quot;:{&quot;id&quot;:&quot;650141ae7891bb11f1234tte&quot;,&quot;type&quot;:&quot;team&quot;},&quot;access_control&quot;:[],&quot;maintainer&quot;:{&quot;id&quot;:&quot;650141ae7891bb11f1234aaa1&quot;,&quot;type&quot;:&quot;user&quot;},&quot;tags&quot;:[],&quot;auto_pause_transient_alerts_config&quot;:{&quot;is_enabled&quot;:false,&quot;timeout_in_mins&quot;:0},&quot;intelligent_alerts_grouping_config&quot;:{&quot;is_enabled&quot;:false,&quot;rolling_window_in_mins&quot;:0},&quot;delay_notification_config&quot;:{&quot;is_enabled&quot;:false,&quot;fixed_timeslot_config&quot;:{},&quot;custom_timeslots_enabled&quot;:false,&quot;assigned_to&quot;:{&quot;id&quot;:&quot;000000000000000000000000&quot;}},&quot;config&quot;:{&quot;dedup_key_enabled&quot;:false},&quot;created_at&quot;:&quot;2023-10-05T14:42:26.284Z&quot;,&quot;updated_at&quot;:&quot;2023-10-19T15:50:17.709Z&quot;,&quot;on_maintenance&quot;:false,&quot;slack&quot;:{&quot;channel_id&quot;:&quot;&quot;,&quot;name&quot;:&quot;&quot;,&quot;time&quot;:0},&quot;escalation_policy&quot;:{&quot;id&quot;:&quot;5d81d9407000fb6b9def7e33&quot;,&quot;name&quot;:&quot;TEST&quot;,&quot;description&quot;:&quot;&quot;,&quot;slug&quot;:&quot;test&quot;},&quot;jira_cloud&quot;:{&quot;jira_client_key&quot;:&quot;&quot;,&quot;project&quot;:{&quot;id&quot;:&quot;&quot;,&quot;key&quot;:&quot;&quot;,&quot;name&quot;:&quot;&quot;},&quot;issue_type&quot;:{&quot;id&quot;:&quot;&quot;,&quot;name&quot;:&quot;&quot;,&quot;statuses&quot;:null},&quot;statusmaps&quot;:null,&quot;is_manual&quot;:false}}}