close

Fetch service

The URL parameter ":serviceId" can be used in two ways:

  • use the unique ID of the service assigned by TIMIFY ("serviceId"). In this case, you don't need the QUERY parameter "external"
  • use the "externalId" that you added to this service. In this case, you need to add the parameter "external" ( for ex.: /?external=1) so the Developer API will search by your "externalId" and not by "serviceId" assigned by TIMIFY

You can add "externalId" to the service with the Developer API endpoints POST /services and PATCH services/:serviceId

When the developer wants to include booking limit suggestions in the response, the booking limitation params needs to be be included in the query, only the start_date is mandatory

  ?start_date=2019-02-23 11:30&event_id=645515845089ba22acfa569e&durations_pattern=5&duration_before=30&duration_after=30
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the service.

Query Params
integer
enum

The "external" attribute specifies if the search query will use the external or TIMIFY ID. When "external" is set as 1, "serviceId" is used as the "externalId", alternatively the "serviceId" is the TIMIFY id.

Allowed:
string

Date represented as YYYY-MM-DD HH:mm

string
durations_pattern
array of numbers
durations_pattern
number
number
boolean
Defaults to false

Get full attributes information
Default value: 'false'
Example: /?with_full_attributes=true

Headers
string
required

Id of the company

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json