Get single campaign
Path Parameters
- id integer required
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- id integer
- name string
- start_date string
Possible values: Value must match regular expression
^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[0-1])$
Date when the campaign the number belongs to starts. Formatted as ISO 8601 without time. Required if run_continuously is false.
- end_date string
Possible values: Value must match regular expression
^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[0-1])$
Date when the campaign the number belongs to ends. Formatted as ISO 8601 without time. Required if run_continuously is false.
- run_continuously boolean
When set to true, the number will be always available. When set to false, the number will be available until end_date
{
"id": 1,
"name": "Sales campaign",
"start_date": "2022-07-07",
"end_date": "2022-08-07",
"run_continuously": "false"
}